public static class DecisionTreeModelReadWrite.SplitData
extends Object
implements scala.Product, scala.Serializable
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.
Constructor and Description |
---|
SplitData(int featureIndex,
double[] leftCategoriesOrThreshold,
int numCategories) |
Modifier and Type | Method and Description |
---|---|
int |
featureIndex() |
Split |
getSplit() |
double[] |
leftCategoriesOrThreshold() |
int |
numCategories() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public SplitData(int featureIndex, double[] leftCategoriesOrThreshold, int numCategories)
public int featureIndex()
public double[] leftCategoriesOrThreshold()
public int numCategories()
public Split getSplit()