org.apache.spark.ml.regression

GeneralizedLinearRegressionTrainingSummary

class GeneralizedLinearRegressionTrainingSummary extends GeneralizedLinearRegressionSummary with Serializable

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

Annotations
@Since( "2.0.0" ) @Experimental()
Linear Supertypes
GeneralizedLinearRegressionSummary, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GeneralizedLinearRegressionTrainingSummary
  2. GeneralizedLinearRegressionSummary
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. lazy val aic: Double

    Akaike Information Criterion (AIC) for the fitted model.

    Akaike Information Criterion (AIC) for the fitted model.

    Definition Classes
    GeneralizedLinearRegressionSummary
    Annotations
    @Since( "2.0.0" )
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. lazy val coefficientStandardErrors: Array[Double]

    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.

    Annotations
    @Since( "2.0.0" )
  10. lazy val degreesOfFreedom: Long

    Degrees of freedom.

    Degrees of freedom.

    Definition Classes
    GeneralizedLinearRegressionSummary
    Annotations
    @Since( "2.0.0" )
  11. lazy val deviance: Double

    The deviance for the fitted model.

    The deviance for the fitted model.

    Definition Classes
    GeneralizedLinearRegressionSummary
    Annotations
    @Since( "2.0.0" )
  12. lazy val dispersion: Double

    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.

    Definition Classes
    GeneralizedLinearRegressionSummary
    Annotations
    @Since( "2.0.0" )
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  19. val model: GeneralizedLinearRegressionModel

    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.

    Attributes
    protected
    Definition Classes
    GeneralizedLinearRegressionSummary
    Note

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

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. lazy val nullDeviance: Double

    The deviance for the null model.

    The deviance for the null model.

    Definition Classes
    GeneralizedLinearRegressionSummary
    Annotations
    @Since( "2.0.0" )
  24. lazy val numInstances: Long

    Number of instances in DataFrame predictions.

    Number of instances in DataFrame predictions.

    Definition Classes
    GeneralizedLinearRegressionSummary
    Annotations
    @Since( "2.2.0" )
  25. val numIterations: Int

    number of iterations

    number of iterations

    Annotations
    @Since( "2.0.0" )
  26. lazy val pValues: Array[Double]

    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.

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

    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.

    Definition Classes
    GeneralizedLinearRegressionSummary
    Annotations
    @Since( "2.0.0" )
  28. val predictions: DataFrame

    Predictions output by the model's transform method.

    Predictions output by the model's transform method.

    Definition Classes
    GeneralizedLinearRegressionSummary
    Annotations
    @Since( "2.0.0" )
  29. lazy val rank: Long

    The numeric rank of the fitted linear model.

    The numeric rank of the fitted linear model.

    Definition Classes
    GeneralizedLinearRegressionSummary
    Annotations
    @Since( "2.0.0" )
  30. lazy val residualDegreeOfFreedom: Long

    The residual degrees of freedom.

    The residual degrees of freedom.

    Definition Classes
    GeneralizedLinearRegressionSummary
    Annotations
    @Since( "2.0.0" )
  31. lazy val residualDegreeOfFreedomNull: Long

    The residual degrees of freedom for the null model.

    The residual degrees of freedom for the null model.

    Definition Classes
    GeneralizedLinearRegressionSummary
    Annotations
    @Since( "2.0.0" )
  32. def residuals(residualsType: String): DataFrame

    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.

    Definition Classes
    GeneralizedLinearRegressionSummary
    Annotations
    @Since( "2.0.0" )
  33. def residuals(): DataFrame

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

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

    Definition Classes
    GeneralizedLinearRegressionSummary
    Annotations
    @Since( "2.0.0" )
  34. val solver: String

    the solver algorithm used for model training

    the solver algorithm used for model training

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

    Definition Classes
    AnyRef
  36. lazy val tValues: Array[Double]

    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.

    Annotations
    @Since( "2.0.0" )
  37. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Members