Class

org.apache.spark.ml.regression

GeneralizedLinearRegressionSummary

Related Doc: package regression

Permalink

class GeneralizedLinearRegressionSummary extends Serializable

:: Experimental :: Summary of GeneralizedLinearRegression model and predictions.

Annotations
@Since( "2.0.0" ) @Experimental()
Source
GeneralizedLinearRegression.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeneralizedLinearRegressionSummary
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. lazy val aic: Double

    Permalink

    Akaike Information Criterion (AIC) for the fitted model.

    Akaike Information Criterion (AIC) for the fitted model.

    Annotations
    @Since( "2.0.0" )
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. lazy val degreesOfFreedom: Long

    Permalink

    Degrees of freedom.

    Degrees of freedom.

    Annotations
    @Since( "2.0.0" )
  8. lazy val deviance: Double

    Permalink

    The deviance for the fitted model.

    The deviance for the fitted model.

    Annotations
    @Since( "2.0.0" )
  9. lazy val dispersion: Double

    Permalink

    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.

    Annotations
    @Since( "2.0.0" )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val model: GeneralizedLinearRegressionModel

    Permalink

    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.

    NOTE: predictionCol must be set correctly before the value of model is set, and model must be set before predictions is set!

    Attributes
    protected
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. lazy val nullDeviance: Double

    Permalink

    The deviance for the null model.

    The deviance for the null model.

    Annotations
    @Since( "2.0.0" )
  21. val predictionCol: String

    Permalink

    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.

    Annotations
    @Since( "2.0.0" )
  22. val predictions: DataFrame

    Permalink

    Predictions output by the model's transform method.

    Predictions output by the model's transform method.

    Annotations
    @Since( "2.0.0" )
  23. lazy val rank: Long

    Permalink

    The numeric rank of the fitted linear model.

    The numeric rank of the fitted linear model.

    Annotations
    @Since( "2.0.0" )
  24. lazy val residualDegreeOfFreedom: Long

    Permalink

    The residual degrees of freedom.

    The residual degrees of freedom.

    Annotations
    @Since( "2.0.0" )
  25. lazy val residualDegreeOfFreedomNull: Long

    Permalink

    The residual degrees of freedom for the null model.

    The residual degrees of freedom for the null model.

    Annotations
    @Since( "2.0.0" )
  26. def residuals(residualsType: String): DataFrame

    Permalink

    Get the residuals of the fitted model by type.

    Get the residuals of the fitted model by type.

    residualsType

    The type of residuals which should be returned. Supported options: deviance, pearson, working and response.

    Annotations
    @Since( "2.0.0" )
  27. def residuals(): DataFrame

    Permalink

    Get the default residuals (deviance residuals) of the fitted model.

    Get the default residuals (deviance residuals) of the fitted model.

    Annotations
    @Since( "2.0.0" )
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Members