Package smile.regression
Interface Regression.Trainer<T,M extends Regression<T>>
- Type Parameters:
T
- the type of model input object.M
- the type of model.
- Enclosing interface:
Regression<T>
public static interface Regression.Trainer<T,M extends Regression<T>>
The regression trainer.
-
Method Summary
-
Method Details
-
fit
Fits a regression model with the default hyperparameters.- Parameters:
x
- the training samples.y
- the response variables.- Returns:
- the model
-
fit
Fits a regression model.- Parameters:
x
- the training samples.y
- the response variables.params
- the hyperparameters.- Returns:
- the model
-