public static class DecisionTreeModelReadWrite.NodeData$
extends Object
implements scala.Serializable
| Modifier and Type | Field and Description | 
|---|---|
| static DecisionTreeModelReadWrite.NodeData$ | MODULE$Static reference to the singleton instance of this Scala object. | 
| Constructor and Description | 
|---|
| NodeData$() | 
| Modifier and Type | Method and Description | 
|---|---|
| scala.Tuple2<scala.collection.Seq<DecisionTreeModelReadWrite.NodeData>,Object> | build(Node node,
     int id)Create  DecisionTreeModelReadWrite.NodeDatainstances for this node and all children. | 
| int | inferNumPartitions(long numNodes)When save a tree model, infer the number of partitions based on number of nodes. | 
public static final DecisionTreeModelReadWrite.NodeData$ MODULE$
public scala.Tuple2<scala.collection.Seq<DecisionTreeModelReadWrite.NodeData>,Object> build(Node node, int id)
DecisionTreeModelReadWrite.NodeData instances for this node and all children.
 id - Current ID.  IDs are assigned via a pre-order traversal.node - (undocumented)public int inferNumPartitions(long numNodes)
numNodes - (undocumented)