T
- the type of input objectpublic interface OnlineRegression<T> extends Regression<T>
Modifier and Type | Method and Description |
---|---|
void |
learn(T x,
double y)
Online update the regression model with a new training instance.
|
predict
void learn(T x, double y)
x
- training instance.y
- response variable.Copyright © 2015. All rights reserved.