Package org.apache.spark.ml.tree
Class ContinuousSplit
Object
org.apache.spark.ml.tree.ContinuousSplit
- All Implemented Interfaces:
Serializable
,Split
Split which tests a continuous feature.
param: featureIndex Index of the feature to test
param: threshold If the feature value is less than or equal to this threshold, then the
split goes left. Otherwise, it goes right.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Index of feature which this split testsint
hashCode()
double
-
Method Details
-
equals
-
featureIndex
public int featureIndex()Description copied from interface:Split
Index of feature which this split tests- Specified by:
featureIndex
in interfaceSplit
-
hashCode
public int hashCode() -
threshold
public double threshold()
-