org.apache.spark.ml.regression
Akaike Information Criterion (AIC) for the fitted model.
Akaike Information Criterion (AIC) for the fitted model.
Standard error of estimated coefficients and intercept.
Standard error of estimated coefficients and intercept.
This value is only available when the underlying WeightedLeastSquares
using the "normal" solver.
If GeneralizedLinearRegression.fitIntercept
is set to true,
then the last element returned corresponds to the intercept.
Degrees of freedom.
Degrees of freedom.
The deviance for the fitted model.
The deviance for the fitted model.
The dispersion of the fitted model.
The dispersion of the fitted model. It is taken as 1.0 for the "binomial" and "poisson" families, and otherwise estimated by the residual Pearson's Chi-Squared statistic (which is defined as sum of the squares of the Pearson residuals) divided by the residual degrees of freedom.
Private copy of model to ensure Params are not modified outside this class.
Private copy of model to ensure Params are not modified outside this class. Coefficients is not a deep copy, but that is acceptable.
predictionCol must be set correctly before the value of model is set, and model must be set before predictions is set!
The deviance for the null model.
The deviance for the null model.
number of iterations
number of iterations
Two-sided p-value of estimated coefficients and intercept.
Two-sided p-value of estimated coefficients and intercept.
This value is only available when the underlying WeightedLeastSquares
using the "normal" solver.
If GeneralizedLinearRegression.fitIntercept
is set to true,
then the last element returned corresponds to the intercept.
Field in "predictions" which gives the predicted value of each instance.
Field in "predictions" which gives the predicted value of each instance.
This is set to a new column name if the original model's predictionCol
is not set.
Predictions output by the model's transform
method.
Predictions output by the model's transform
method.
The numeric rank of the fitted linear model.
The numeric rank of the fitted linear model.
The residual degrees of freedom.
The residual degrees of freedom.
The residual degrees of freedom for the null model.
The residual degrees of freedom for the null model.
Get the residuals of the fitted model by type.
Get the residuals of the fitted model by type.
The type of residuals which should be returned. Supported options: deviance, pearson, working and response.
Get the default residuals (deviance residuals) of the fitted model.
Get the default residuals (deviance residuals) of the fitted model.
the solver algorithm used for model training
the solver algorithm used for model training
T-statistic of estimated coefficients and intercept.
T-statistic of estimated coefficients and intercept.
This value is only available when the underlying WeightedLeastSquares
using the "normal" solver.
If GeneralizedLinearRegression.fitIntercept
is set to true,
then the last element returned corresponds to the intercept.
:: Experimental :: Summary of GeneralizedLinearRegression fitting and model.