Package org.apache.spark.ml.param
Class DoubleArrayArrayParam
Object
org.apache.spark.ml.param.Param<double[][]>
org.apache.spark.ml.param.DoubleArrayArrayParam
- All Implemented Interfaces:
Serializable
,scala.Serializable
Specialized version of
Param[Array[Array[Double}]
for Java.- See Also:
-
Constructor Summary
ConstructorDescriptionDoubleArrayArrayParam
(Params parent, String name, String doc) DoubleArrayArrayParam
(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
-
DoubleArrayArrayParam
-
DoubleArrayArrayParam
-
-
Method Details
-
jsonDecode
Description copied from class:Param
Decodes a param value from JSON.- Overrides:
jsonDecode
in classParam<double[][]>
-
jsonEncode
Description copied from class:Param
Encodes a param value into JSON, which can be decoded by `jsonDecode()`.- Overrides:
jsonEncode
in classParam<double[][]>
-
w
Creates a param pair with a `java.util.List` of values (for Java and Python).
-