smile.classification
Interface OnlineClassifier<T>
-
- Type Parameters:
T- the type of input object
- All Superinterfaces:
- Classifier<T>
- All Known Implementing Classes:
- NaiveBayes, NeuralNetwork, SVM
public interface OnlineClassifier<T> extends Classifier<T>
Classifier with online learning capability. Online learning is a model of induction that learns one instance at a time. More formally, an online algorithm proceeds in a sequence of trials.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidlearn(T x, int y)Online update the classifier with a new training instance.-
Methods inherited from interface smile.classification.Classifier
predict, predict
-
-
-
-
Method Detail
-
learn
void learn(T x, int y)
Online update the classifier with a new training instance. In general, this method may be NOT multi-thread safe.- Parameters:
x- training instance.y- training label.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG