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