Class FloatParam

Object
org.apache.spark.ml.param.Param<Object>
org.apache.spark.ml.param.FloatParam
All Implemented Interfaces:
Serializable

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

  • Method Details

    • jValueEncode

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

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

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

      public String jsonEncode(float value)
    • jsonDecode

      public float jsonDecode(String json)