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