Class ContinuousSplit

All Implemented Interfaces:
Serializable, Split, scala.Serializable

public class ContinuousSplit extends Object implements 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 Details

    • equals

      public boolean equals(Object o)
      equals in class Object
    • featureIndex

      public int featureIndex()
      Description copied from interface: Split
      Index of feature which this split tests
      Specified by:
      featureIndex in interface Split
    • hashCode

      public int hashCode()
      hashCode in class Object
    • threshold

      public double threshold()