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

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

    • fit

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

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