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

    Modifier and Type
    Method
    Description
    default M
    fit(Formula formula, DataFrame data)
    Fits a regression model with the default hyper-parameters.
    fit(Formula formula, DataFrame data, Properties params)
    Fits a regression model.
  • Method Details

    • fit

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

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