Package org.apache.spark.ml.tree
Class DecisionTreeModelReadWrite.SplitData
Object
org.apache.spark.ml.tree.DecisionTreeModelReadWrite.SplitData
- All Implemented Interfaces:
- Serializable,- scala.Equals,- scala.Product
- Enclosing class:
- DecisionTreeModelReadWrite
public static class DecisionTreeModelReadWrite.SplitData
extends Object
implements scala.Product, 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 SummaryConstructorsConstructorDescriptionSplitData(int featureIndex, double[] leftCategoriesOrThreshold, int numCategories) 
- 
Method SummaryMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
SplitDatapublic SplitData(int featureIndex, double[] leftCategoriesOrThreshold, int numCategories) 
 
- 
- 
Method Details- 
featureIndexpublic int featureIndex()
- 
leftCategoriesOrThresholdpublic double[] leftCategoriesOrThreshold()
- 
numCategoriespublic int numCategories()
- 
getSplit
 
-