Package org.apache.spark.ml.param
Class DoubleParam
- All Implemented Interfaces:
Serializable
Specialized version of
Param[Double] for Java.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDoubleParam(String parent, String name, String doc) DoubleParam(Identifiable parent, String name, String doc) DoubleParam(Identifiable parent, String name, String doc, scala.Function1<Object, Object> isValid) -
Method Summary
Modifier and TypeMethodDescriptiondoublejsonDecode(String json) jsonEncode(double value) static doublejValueDecode(org.json4s.JValue jValue) Decodes a param value from JValue.static org.json4s.JValuejValueEncode(double value) Encodes a param value into JValue.w(double value) Creates a param pair with the given value (for Java).
-
Constructor Details
-
DoubleParam
-
DoubleParam
-
DoubleParam
public DoubleParam(Identifiable parent, String name, String doc, scala.Function1<Object, Object> isValid) -
DoubleParam
-
-
Method Details
-
jValueEncode
public static org.json4s.JValue jValueEncode(double value) Encodes a param value into JValue. -
jValueDecode
public static double jValueDecode(org.json4s.JValue jValue) Decodes a param value from JValue. -
w
Creates a param pair with the given value (for Java). -
jsonEncode
-
jsonDecode
-