org.apache.spark.ml.tree
Class ContinuousSplit

Object
  extended by org.apache.spark.ml.tree.ContinuousSplit
All Implemented Interfaces:
java.io.Serializable, Split

public final class ContinuousSplit
extends Object
implements Split

:: DeveloperApi :: Split which tests a continuous feature. param: featureIndex Index of the feature to test param: threshold If the feature value is <= this threshold, then the split goes left. Otherwise, it goes right.

See Also:
Serialized Form

Method Summary
 boolean equals(Object o)
           
 int featureIndex()
          Index of feature which this split tests
 double threshold()
           
 
Methods inherited from class Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

featureIndex

public int featureIndex()
Description copied from interface: Split
Index of feature which this split tests

Specified by:
featureIndex in interface Split

threshold

public double threshold()

equals

public boolean equals(Object o)
Overrides:
equals in class Object