Package org.apache.spark.ml.regression
Class GeneralizedLinearRegression.Family$
Object
org.apache.spark.ml.regression.GeneralizedLinearRegression.Family$
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- GeneralizedLinearRegression
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final GeneralizedLinearRegression.Family$Static reference to the singleton instance of this Scala object.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.spark.ml.regression.GeneralizedLinearRegression.FamilyGets theGeneralizedLinearRegression.Familyobject based on param family and variancePower.
- 
Field Details- 
MODULE$Static reference to the singleton instance of this Scala object.
 
- 
- 
Constructor Details- 
Family$public Family$()
 
- 
- 
Method Details- 
fromParamspublic org.apache.spark.ml.regression.GeneralizedLinearRegression.Family fromParams(GeneralizedLinearRegressionBase params) Gets theGeneralizedLinearRegression.Familyobject 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)
 
 
-