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 |
---|
DecisionTreeModelReadWrite.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 DecisionTreeModelReadWrite.SplitData(int featureIndex, double[] leftCategoriesOrThreshold, int numCategories)
public int featureIndex()
public double[] leftCategoriesOrThreshold()
public int numCategories()
public Split getSplit()