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