T
- the type of input objectpublic interface OnlineClassifier<T> extends Classifier<T>
Modifier and Type | Method and Description |
---|---|
void |
learn(T x,
int y)
Online update the classifier with a new training instance.
|
predict, predict
void learn(T x, int y)
x
- training instance.y
- training label.Copyright © 2015. All rights reserved.