Interface SparkHPO.DataFrameRegressionTrainer<M extends DataFrameRegression>

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.DataFrameRegressionTrainer<M extends DataFrameRegression> extends Serializable
Functional interface for training a parameterized DataFrame regression model.
  • Method Summary

    Modifier and Type
    Method
    Description
    fit(Formula formula, DataFrame data, Properties props)
    Trains a model for a given hyperparameter configuration.
  • Method Details

    • fit

      M fit(Formula formula, DataFrame data, Properties props)
      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.