Class Split
Object
org.apache.spark.mllib.tree.model.Split
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
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
-
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
Split
public Split(int feature, double threshold, scala.Enumeration.Value featureType, scala.collection.immutable.List<Object> categories)
-
-
Method Details