Interface Regression.Trainer<T,M extends Regression<T>>

Type Parameters:
T - the type of model input object.
M - the type of model.
Enclosing interface:
Regression<T>

public static interface Regression.Trainer<T,M extends Regression<T>>
The regression trainer.
  • Method Summary

    Modifier and Type
    Method
    Description
    default M
    fit(T[] x, double[] y)
    Fits a regression model with the default hyper-parameters.
    fit(T[] x, double[] y, Properties params)
    Fits a regression model.
  • Method Details

    • fit

      default M fit(T[] x, double[] y)
      Fits a regression model with the default hyper-parameters.
      Parameters:
      x - the training samples.
      y - the response variables.
      Returns:
      the model
    • fit

      M fit(T[] x, double[] y, Properties params)
      Fits a regression model.
      Parameters:
      x - the training samples.
      y - the response variables.
      params - the hyper-parameters.
      Returns:
      the model