T - The type of the target that this IOnlineLearner predicts.I - The type of the instances stored in the data set specified by the generic parameter D - The type of the data set used to learn from and predict batches.public interface IOnlineLearner<T,I,D extends IDataset<I>> extends IBatchLearner<T,I,D>
IOnlineLearner models a learning algorithm which works in an
online fashion, i.e. takes either a single IInstance or a Set
thereof as training input.| Modifier and Type | Method and Description |
|---|---|
void |
update(I instance)
Updates this
IOnlineLearner based on the given IInstance. |
void |
update(java.util.Set<I> instances)
|
traingetConfiguration, predict, predict, setConfigurationvoid update(java.util.Set<I> instances) throws TrainingException
instances - The Set of IInstances the update should be based
on.TrainingException - If something fails during the update process.void update(I instance) throws TrainingException
IOnlineLearner based on the given IInstance.instance - The IInstance the update should be based on.TrainingException - If something fails during the update process.