Package org.apache.spark.ml.param
Class DoubleArrayParam
Object
org.apache.spark.ml.param.Param<double[]>
org.apache.spark.ml.param.DoubleArrayParam
- All Implemented Interfaces:
Serializable
Specialized version of
Param[Array[Double} for Java.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDoubleArrayParam(Params parent, String name, String doc) DoubleArrayParam(Params parent, String name, String doc, scala.Function1<double[], Object> isValid) -
Method Summary
Modifier and TypeMethodDescriptiondouble[]jsonDecode(String json) Decodes a param value from JSON.jsonEncode(double[] value) Encodes a param value into JSON, which can be decoded by `jsonDecode()`.ParamPair<double[]>Creates a param pair with a `java.util.List` of values (for Java and Python).
-
Constructor Details
-
DoubleArrayParam
-
DoubleArrayParam
-
-
Method Details
-
jsonDecode
Description copied from class:ParamDecodes a param value from JSON.- Overrides:
jsonDecodein classParam<double[]>
-
jsonEncode
Description copied from class:ParamEncodes a param value into JSON, which can be decoded by `jsonDecode()`.- Overrides:
jsonEncodein classParam<double[]>
-
w
Creates a param pair with a `java.util.List` of values (for Java and Python).
-