public interface DecisionTreeModel
TODO: Add support for predicting probabilities and raw predictions SPARK-3727
Modifier and Type | Method and Description |
---|---|
int |
depth()
Depth of the tree.
|
int |
maxSplitFeatureIndex()
Trace down the tree, and return the largest feature index used in any split.
|
int |
numNodes()
Number of nodes in tree, including leaf nodes.
|
Node |
rootNode()
Root of the decision tree
|
String |
toDebugString()
Full description of model
|
DecisionTreeModel |
toOld()
Convert to spark.mllib DecisionTreeModel (losing some information)
|
String |
toString()
Summary of the model
|
int depth()
int maxSplitFeatureIndex()
int numNodes()
Node rootNode()
String toDebugString()
DecisionTreeModel toOld()
String toString()
toString
in class Object