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 SummaryModifier and TypeMethodDescriptionbooleanintIndex of feature which this split testsinthashCode()double
- 
Method Details- 
equals
- 
featureIndexpublic int featureIndex()Description copied from interface:SplitIndex of feature which this split tests- Specified by:
- featureIndexin interface- Split
 
- 
hashCodepublic int hashCode()
- 
thresholdpublic double threshold()
 
-