Package org.apache.spark.ml.param
Class DoubleParam
- All Implemented Interfaces:
- Serializable
Specialized version of 
Param[Double] for Java.- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionDoubleParam(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 SummaryModifier 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
- 
DoubleParampublic DoubleParam(Identifiable parent, String name, String doc, scala.Function1<Object, Object> isValid) 
- 
DoubleParam
 
- 
- 
Method Details- 
jValueEncodepublic static org.json4s.JValue jValueEncode(double value) Encodes a param value into JValue.
- 
jValueDecodepublic static double jValueDecode(org.json4s.JValue jValue) Decodes a param value from JValue.
- 
wCreates a param pair with the given value (for Java).
- 
jsonEncode
- 
jsonDecode
 
-