Standard error of estimated coefficients and intercept.
Standard error of estimated coefficients and intercept. This value is only available when using the "normal" solver.
If LinearRegression.fitIntercept is set to true, then the last element returned corresponds to the intercept.
The weighted residuals, the usual residuals rescaled by the square root of the instance weights.
Returns the explained variance regression score.
Returns the explained variance regression score. explainedVariance = 1 - variance(y - \hat{y}) / variance(y) Reference: http://en.wikipedia.org/wiki/Explained_variation
Note: This ignores instance weights (setting all to 1.0) from LinearRegression.weightCol. This will change in later Spark versions.
Field in "predictions" which gives the features of each instance as a vector.
Field in "predictions" which gives the true label of each instance.
Returns the mean absolute error, which is a risk function corresponding to the expected value of the absolute error loss or l1-norm loss.
Returns the mean absolute error, which is a risk function corresponding to the expected value of the absolute error loss or l1-norm loss.
Note: This ignores instance weights (setting all to 1.0) from LinearRegression.weightCol. This will change in later Spark versions.
Returns the mean squared error, which is a risk function corresponding to the expected value of the squared error loss or quadratic loss.
Returns the mean squared error, which is a risk function corresponding to the expected value of the squared error loss or quadratic loss.
Note: This ignores instance weights (setting all to 1.0) from LinearRegression.weightCol. This will change in later Spark versions.
Number of instances in DataFrame predictions
Two-sided p-value of estimated coefficients and intercept.
Two-sided p-value of estimated coefficients and intercept. This value is only available when using the "normal" solver.
If LinearRegression.fitIntercept is set to true, then the last element returned corresponds to the intercept.
Field in "predictions" which gives the predicted value of the label at each instance.
predictions output by the model's transform
method.
Returns R^{2}, the coefficient of determination.
Returns R^{2}, the coefficient of determination. Reference: http://en.wikipedia.org/wiki/Coefficient_of_determination
Note: This ignores instance weights (setting all to 1.0) from LinearRegression.weightCol. This will change in later Spark versions.
Residuals (label - predicted value)
Residuals (label - predicted value)
Returns the root mean squared error, which is defined as the square root of the mean squared error.
Returns the root mean squared error, which is defined as the square root of the mean squared error.
Note: This ignores instance weights (setting all to 1.0) from LinearRegression.weightCol. This will change in later Spark versions.
T-statistic of estimated coefficients and intercept.
T-statistic of estimated coefficients and intercept. This value is only available when using the "normal" solver.
If LinearRegression.fitIntercept is set to true, then the last element returned corresponds to the intercept.
(Since version 2.0.0) The model field is deprecated and will be removed in 2.1.0.
:: Experimental :: Linear regression results evaluated on a dataset.