T
- the type of input objectpublic interface OnlineRegression<T> extends Regression<T>
Modifier and Type | Method and Description |
---|---|
default void |
update(T[] x,
double[] y)
Updates the model with a (micro-)batch of new samples.
|
void |
update(T x,
double y)
Online update the regression model with a new training instance.
|
applyAsDouble, predict, predict
default void update(T[] x, double[] y)
x
- the training instances.y
- the target values.void update(T x, double y)
x
- training instance.y
- response variable.