Class DoubleParam

Object
org.apache.spark.ml.param.Param<Object>
org.apache.spark.ml.param.DoubleParam
All Implemented Interfaces:
Serializable, scala.Serializable

public class DoubleParam extends Param<Object>
Specialized version of Param[Double] for Java.
See Also:
  • Constructor Details

  • Method Details

    • jValueEncode

      public static org.json4s.JsonAST.JValue jValueEncode(double value)
      Encodes a param value into JValue.
    • jValueDecode

      public static double jValueDecode(org.json4s.JsonAST.JValue jValue)
      Decodes a param value from JValue.
    • w

      public ParamPair<Object> w(double value)
      Creates a param pair with the given value (for Java).
    • jsonEncode

      public String jsonEncode(double value)
    • jsonDecode

      public double jsonDecode(String json)