public interface IModelDefinition<ID,Features,ResultType extends Comparable<?>>
Modifier and Type | Method and Description |
---|---|
IAttributeSelection<Features> |
getAttributeSelection() |
Object |
getParameter(Object name) |
boolean |
isBuilt() |
void |
learn(IDataset<ID,Features,ResultType> dataset) |
ResultType |
learn(ID id,
Features features,
ResultType observed,
ResultType predicted) |
void |
predict(IDataset<ID,Features,ResultType> dataset,
IModelStatistics<ResultType> stats) |
ResultType |
predict(ID id,
Features features,
ResultType observed,
ResultType predicted,
IModelStatistics<ResultType> stats) |
void |
setAttributeSelection(IAttributeSelection<Features> attributeSelection) |
void |
setParameter(Object name,
Object value) |
boolean isBuilt()
void learn(IDataset<ID,Features,ResultType> dataset) throws net.idea.modbcum.i.exceptions.AmbitException, UnsupportedOperationException
net.idea.modbcum.i.exceptions.AmbitException
UnsupportedOperationException
ResultType learn(ID id, Features features, ResultType observed, ResultType predicted) throws net.idea.modbcum.i.exceptions.AmbitException, UnsupportedOperationException
net.idea.modbcum.i.exceptions.AmbitException
UnsupportedOperationException
void predict(IDataset<ID,Features,ResultType> dataset, IModelStatistics<ResultType> stats) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
ResultType predict(ID id, Features features, ResultType observed, ResultType predicted, IModelStatistics<ResultType> stats) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
IAttributeSelection<Features> getAttributeSelection()
void setAttributeSelection(IAttributeSelection<Features> attributeSelection)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.