Class GeneralizedLinearRegression.Family$

Object
org.apache.spark.ml.regression.GeneralizedLinearRegression.Family$
All Implemented Interfaces:
Serializable, scala.Serializable
Enclosing class:
GeneralizedLinearRegression

public static class GeneralizedLinearRegression.Family$ extends Object implements scala.Serializable
See Also:
  • Field Details

  • Constructor Details

    • Family$

      public Family$()
  • Method Details

    • fromParams

      public org.apache.spark.ml.regression.GeneralizedLinearRegression.Family fromParams(GeneralizedLinearRegressionBase params)
      Gets the GeneralizedLinearRegression.Family object based on param family and variancePower. If param family is set with "gaussian", "binomial", "poisson" or "gamma", return the corresponding object directly; otherwise, construct a Tweedie object according to variancePower.

      Parameters:
      params - the parameter map containing family name and variance power
      Returns:
      (undocumented)