public static class OLS.Trainer extends RegressionTrainer<double[]>
| Constructor and Description |
|---|
Trainer()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
OLS |
train(double[][] x,
double[] y)
Learns a regression model with given training data.
|
setAttributespublic OLS train(double[][] x, double[] y)
RegressionTrainertrain in class RegressionTrainer<double[]>x - the training instances.y - the training response values.