Class GeneralizedLinearRegression.Link$

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

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

    Fields
    Modifier and Type
    Field
    Description
    Static reference to the singleton instance of this Scala object.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.spark.ml.regression.GeneralizedLinearRegression.Link
    fromParams(org.apache.spark.ml.regression.GeneralizedLinearRegressionBase params)
    Gets the GeneralizedLinearRegression.Link object based on param family, link and linkPower.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Link$

      public Link$()
  • Method Details

    • fromParams

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