Class LinearRegressionTrainingSummary

Object
org.apache.spark.ml.regression.LinearRegressionSummary
org.apache.spark.ml.regression.LinearRegressionTrainingSummary
All Implemented Interfaces:
Serializable

public class LinearRegressionTrainingSummary extends LinearRegressionSummary
Linear regression training results. Currently, the training summary ignores the training weights except for the objective trace.

param: predictions predictions output by the model's transform method. param: objectiveHistory objective function (scaled loss + regularization) at each iteration.

See Also:
  • Method Details

    • objectiveHistory

      public double[] objectiveHistory()
    • totalIterations

      public int totalIterations()
      Number of training iterations until termination

      This value is only available when using the "l-bfgs" solver.

      Returns:
      (undocumented)
      See Also:
      • LinearRegression.solver