Class Split
Object
org.apache.spark.mllib.tree.model.Split
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product,scala.Serializable
Split applied to a feature
param: feature feature index
param: threshold Threshold for continuous feature.
Split left if feature is less than or equal to threshold, else right.
param: featureType type of feature -- categorical or continuous
param: categories Split left if categorical feature value is in this set, else right.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
-
Constructor Details
-
Split
public Split(int feature, double threshold, scala.Enumeration.Value featureType, scala.collection.immutable.List<Object> categories)
-
-
Method Details