Package org.apache.spark.ml.param
Class DoubleParam
- All Implemented Interfaces:
Serializable
,scala.Serializable
Specialized version of
Param[Double]
for Java.- See Also:
-
Constructor Summary
ConstructorDescriptionDoubleParam
(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 TypeMethodDescriptiondouble
jsonDecode
(String json) jsonEncode
(double value) static double
jValueDecode
(org.json4s.JsonAST.JValue jValue) Decodes a param value from JValue.static org.json4s.JsonAST.JValue
jValueEncode
(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.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
Creates a param pair with the given value (for Java). -
jsonEncode
-
jsonDecode
-