public class GeneralizedLinearRegressionSummary
extends Object
implements scala.Serializable
GeneralizedLinearRegression
model and predictions.
param: dataset Dataset to be summarized. param: origModel Model to be summarized. This is copied to create an internal model which cannot be modified from outside.
Modifier and Type | Method and Description |
---|---|
double |
aic() |
long |
degreesOfFreedom() |
double |
deviance() |
double |
dispersion() |
double |
nullDeviance() |
long |
numInstances() |
String |
predictionCol()
Field in "predictions" which gives the predicted value of each instance.
|
Dataset<Row> |
predictions()
Predictions output by the model's
transform method. |
long |
rank() |
long |
residualDegreeOfFreedom() |
long |
residualDegreeOfFreedomNull() |
Dataset<Row> |
residuals()
Get the default residuals (deviance residuals) of the fitted model.
|
Dataset<Row> |
residuals(String residualsType)
Get the residuals of the fitted model by type.
|
public double aic()
public long degreesOfFreedom()
public double deviance()
public double dispersion()
public double nullDeviance()
public long numInstances()
public String predictionCol()
predictionCol
is not set.public Dataset<Row> predictions()
transform
method.public long rank()
public long residualDegreeOfFreedom()
public long residualDegreeOfFreedomNull()
public Dataset<Row> residuals()