Interface SparkHPO.DataFrameClassificationTrainer<M extends DataFrameClassifier>
- Type Parameters:
M- the model type.
- All Superinterfaces:
Serializable
- Enclosing class:
SparkHPO
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface SparkHPO.DataFrameClassificationTrainer<M extends DataFrameClassifier>
extends Serializable
Functional interface for training a parameterized DataFrame classifier.
-
Method Summary
Modifier and TypeMethodDescriptionfit(Formula formula, DataFrame data, Properties props) Trains a model for a given hyperparameter configuration.
-
Method Details
-
fit
Trains a model for a given hyperparameter configuration.- Parameters:
formula- the model formula.data- the training DataFrame.props- the hyperparameter configuration.- Returns:
- the fitted model.
-