DataType
- Type of the input data.ResultType
- Result type from both the online- and batch-learning interfaces.public interface BatchAndIncrementalLearner<DataType,ResultType> extends BatchLearner<java.util.Collection<? extends DataType>,ResultType>, IncrementalLearner<DataType,ResultType>
Modifier and Type | Method and Description |
---|---|
ResultType |
learn(java.lang.Iterable<? extends DataType> data)
Creates an object of
ResultType using
data of type DataType , using some form of "learning" algorithm. |
learn
createInitialLearnedObject, update, update
clone
ResultType learn(java.lang.Iterable<? extends DataType> data)
ResultType
using
data of type DataType
, using some form of "learning" algorithm.
Typically implemented as a convenience method for calling an incremental
learner on each data point.data
- The data that the learning algorithm will use to create an object
of ResultType
.