Package org.apache.spark.ml.param
Class FloatParam
- All Implemented Interfaces:
Serializable
,scala.Serializable
Specialized version of
Param[Float]
for Java.- See Also:
-
Constructor Summary
ConstructorDescriptionFloatParam
(String parent, String name, String doc) FloatParam
(Identifiable parent, String name, String doc) FloatParam
(Identifiable parent, String name, String doc, scala.Function1<Object, Object> isValid) -
Method Summary
Modifier and TypeMethodDescriptionfloat
jsonDecode
(String json) jsonEncode
(float value) static float
jValueDecode
(org.json4s.JsonAST.JValue jValue) Decodes a param value from JValue.static org.json4s.JsonAST.JValue
jValueEncode
(float value) Encodes a param value into JValue.w
(float value) Creates a param pair with the given value (for Java).
-
Constructor Details
-
FloatParam
-
FloatParam
-
FloatParam
public FloatParam(Identifiable parent, String name, String doc, scala.Function1<Object, Object> isValid) -
FloatParam
-
-
Method Details
-
jValueEncode
public static org.json4s.JsonAST.JValue jValueEncode(float value) Encodes a param value into JValue. -
jValueDecode
public static float 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
-