Package smile.regression
Interface DataFrameRegression.Trainer<M extends DataFrameRegression>
- Type Parameters:
M
- the type of model.
- Enclosing interface:
DataFrameRegression
public static interface DataFrameRegression.Trainer<M extends DataFrameRegression>
The regression trainer.
-
Method Summary
-
Method Details
-
fit
Fits a regression model with the default hyper-parameters.- Parameters:
formula
- a symbolic description of the model to be fitted.data
- the data frame of the explanatory and response variables.- Returns:
- the model
-
fit
Fits a regression model.- Parameters:
formula
- a symbolic description of the model to be fitted.data
- the data frame of the explanatory and response variables.params
- the hyper-parameters.- Returns:
- the model
-