Class IntArrayParam

Object
org.apache.spark.ml.param.Param<int[]>
org.apache.spark.ml.param.IntArrayParam
All Implemented Interfaces:
Serializable, scala.Serializable

public class IntArrayParam extends Param<int[]>
Specialized version of Param[Array[Int} for Java.
See Also:
  • Constructor Details

  • Method Details

    • jsonDecode

      public int[] jsonDecode(String json)
      Description copied from class: Param
      Decodes a param value from JSON.
      Overrides:
      jsonDecode in class Param<int[]>
    • jsonEncode

      public String jsonEncode(int[] value)
      Description copied from class: Param
      Encodes a param value into JSON, which can be decoded by `jsonDecode()`.
      Overrides:
      jsonEncode in class Param<int[]>
    • w

      public ParamPair<int[]> w(List<Integer> value)
      Creates a param pair with a `java.util.List` of values (for Java and Python).