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.
LinearRegression.solver
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: Wikipedia explain variation
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.
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.
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.
LinearRegression.solver
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: Wikipedia coefficient of determination
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.
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.
LinearRegression.solver
:: Experimental :: Linear regression results evaluated on a dataset.