T - the type of input objectpublic interface OnlineClassifier<T> extends Classifier<T>
| Modifier and Type | Method and Description |
|---|---|
default void |
update(T[] x,
int[] y)
Updates the model with a (micro-)batch of new samples.
|
void |
update(T x,
int y)
Online update the classifier with a new training instance.
|
applyAsDouble, applyAsInt, f, predict, predictdefault void update(T[] x, int[] y)
x - the training instances.y - the target values.void update(T x, int y)
x - training instance.y - training label.