Class DecisionTreeModelReadWrite.SplitData

Object
org.apache.spark.ml.tree.DecisionTreeModelReadWrite.SplitData
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product, scala.Serializable
Enclosing class:
DecisionTreeModelReadWrite

public static class DecisionTreeModelReadWrite.SplitData extends Object implements scala.Product, scala.Serializable
Info for a Split

param: featureIndex Index of feature split on param: leftCategoriesOrThreshold For categorical feature, set of leftCategories. For continuous feature, threshold. param: numCategories For categorical feature, number of categories. For continuous feature, -1.

See Also:
  • Constructor Details

    • SplitData

      public SplitData(int featureIndex, double[] leftCategoriesOrThreshold, int numCategories)
  • Method Details

    • featureIndex

      public int featureIndex()
    • leftCategoriesOrThreshold

      public double[] leftCategoriesOrThreshold()
    • numCategories

      public int numCategories()
    • getSplit

      public Split getSplit()