DoubleParam (Spark 3.5.5 JavaDoc) (original) (raw)
Object
- org.apache.spark.ml.param.Param
- org.apache.spark.ml.param.DoubleParam
All Implemented Interfaces:
java.io.Serializable
public class DoubleParam
extends Param
Specialized version of Param[Double]
for Java.
See Also:
Serialized Form
Constructor Summary
Constructors
Constructor and Description DoubleParam(Identifiable parent, String name, String doc) DoubleParam(Identifiable parent, String name, String doc, scala.Function1<Object,Object> isValid) DoubleParam(String parent, String name, String doc) DoubleParam(String parent, String name, String doc, scala.Function1<Object,Object> isValid) Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type Method and Description double jsonDecode(String json) String 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. ParamPair w(double value) Creates a param pair with the given value (for Java). * ### Methods inherited from class org.apache.spark.ml.param.[Param](../../../../../org/apache/spark/ml/param/Param.html "class in org.apache.spark.ml.param") `[doc](../../../../../org/apache/spark/ml/param/Param.html#doc--), [equals](../../../../../org/apache/spark/ml/param/Param.html#equals-java.lang.Object-), [hashCode](../../../../../org/apache/spark/ml/param/Param.html#hashCode--), [isValid](../../../../../org/apache/spark/ml/param/Param.html#isValid--), [jsonEncode](../../../../../org/apache/spark/ml/param/Param.html#jsonEncode-T-), [name](../../../../../org/apache/spark/ml/param/Param.html#name--), [parent](../../../../../org/apache/spark/ml/param/Param.html#parent--), [toString](../../../../../org/apache/spark/ml/param/Param.html#toString--), [w](../../../../../org/apache/spark/ml/param/Param.html#w-T-)` * ### Methods inherited from class Object `getClass, notify, notifyAll, wait, wait, wait`
Constructor Detail
* #### DoubleParam public DoubleParam(String parent, String name, String doc, scala.Function1<Object,Object> isValid) * #### DoubleParam public DoubleParam(String parent, String name, String doc) * #### DoubleParam public DoubleParam([Identifiable](../../../../../org/apache/spark/ml/util/Identifiable.html "interface in org.apache.spark.ml.util") parent, String name, String doc, scala.Function1<Object,Object> isValid) * #### DoubleParam public DoubleParam([Identifiable](../../../../../org/apache/spark/ml/util/Identifiable.html "interface in org.apache.spark.ml.util") parent, String name, String doc)
Method Detail
* #### 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 public [ParamPair](../../../../../org/apache/spark/ml/param/ParamPair.html "class in org.apache.spark.ml.param")<Object> w(double value) Creates a param pair with the given value (for Java). * #### jsonEncode public String jsonEncode(double value) * #### jsonDecode public double jsonDecode(String json)