Class GeneralizedLinearRegression.Link$

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

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

  • Constructor Details

    • Link$

      public Link$()
  • Method Details

    • fromParams

      public org.apache.spark.ml.regression.GeneralizedLinearRegression.Link fromParams(GeneralizedLinearRegressionBase params)
      Gets the GeneralizedLinearRegression.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)