Package org.apache.spark.ml.regression
Class GeneralizedLinearRegression.Link$
Object
org.apache.spark.ml.regression.GeneralizedLinearRegression.Link$
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- GeneralizedLinearRegression
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final GeneralizedLinearRegression.Link$Static reference to the singleton instance of this Scala object.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.spark.ml.regression.GeneralizedLinearRegression.LinkGets theGeneralizedLinearRegression.Linkobject based on param family, link and linkPower.
- 
Field Details- 
MODULE$Static reference to the singleton instance of this Scala object.
 
- 
- 
Constructor Details- 
Link$public Link$()
 
- 
- 
Method Details- 
fromParamspublic org.apache.spark.ml.regression.GeneralizedLinearRegression.Link fromParams(GeneralizedLinearRegressionBase params) Gets theGeneralizedLinearRegression.Linkobject based on param family, link and linkPower. If param family is set with "tweedie", return or construct link function object according to linkPower; otherwise, return link function object according to link.- Parameters:
- params- the parameter map containing family, link and linkPower
- Returns:
- (undocumented)
 
 
-