Package org.apache.spark.ml.regression
Class LinearRegressionTrainingSummary
Object
org.apache.spark.ml.regression.LinearRegressionSummary
org.apache.spark.ml.regression.LinearRegressionTrainingSummary
- All Implemented Interfaces:
Serializable
,scala.Serializable
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 Summary
Modifier and TypeMethodDescriptiondouble[]
int
Number of training iterations until terminationMethods inherited from class org.apache.spark.ml.regression.LinearRegressionSummary
coefficientStandardErrors, degreesOfFreedom, devianceResiduals, explainedVariance, featuresCol, labelCol, meanAbsoluteError, meanSquaredError, numInstances, predictionCol, predictions, pValues, r2, r2adj, residuals, rootMeanSquaredError, tValues
-
Method Details
-
objectiveHistory
public double[] objectiveHistory() -
totalIterations
public int totalIterations()Number of training iterations until terminationThis value is only available when using the "l-bfgs" solver.
- Returns:
- (undocumented)
- See Also:
-
LinearRegression.solver
-