Package smile.classification
Interface DataFrameClassifier.Trainer<M extends DataFrameClassifier>
- Type Parameters:
M
- the type of model.
- Enclosing interface:
DataFrameClassifier
public static interface DataFrameClassifier.Trainer<M extends DataFrameClassifier>
The classifier trainer.
-
Method Summary
-
Method Details
-
fit
Fits a classification 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 classification 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
-