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 Summary
Modifier and TypeFieldDescriptionstatic final GeneralizedLinearRegression.Link$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.spark.ml.regression.GeneralizedLinearRegression.Link
Gets theGeneralizedLinearRegression.Link
object 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
-
fromParams
public org.apache.spark.ml.regression.GeneralizedLinearRegression.Link fromParams(GeneralizedLinearRegressionBase params) Gets theGeneralizedLinearRegression.Link
object 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)
-