public static class DecisionTreeModel.SaveLoadV1_0$
extends Object
| Modifier and Type | Class and Description | 
|---|---|
| class  | DecisionTreeModel.SaveLoadV1_0$.NodeDataModel data for model import/export | 
| class  | DecisionTreeModel.SaveLoadV1_0$.NodeData$ | 
| class  | DecisionTreeModel.SaveLoadV1_0$.PredictData | 
| class  | DecisionTreeModel.SaveLoadV1_0$.PredictData$ | 
| class  | DecisionTreeModel.SaveLoadV1_0$.SplitData | 
| class  | DecisionTreeModel.SaveLoadV1_0$.SplitData$ | 
| Modifier and Type | Field and Description | 
|---|---|
| static DecisionTreeModel.SaveLoadV1_0$ | MODULE$Static reference to the singleton instance of this Scala object. | 
| Constructor and Description | 
|---|
| SaveLoadV1_0$() | 
| Modifier and Type | Method and Description | 
|---|---|
| Node | constructTree(org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.NodeData[] data)Given a list of nodes from a tree, construct the tree. | 
| Node[] | constructTrees(RDD<org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.NodeData> nodes) | 
| DecisionTreeModel | load(SparkContext sc,
    String path,
    String algo,
    int numNodes) | 
| void | save(SparkContext sc,
    String path,
    DecisionTreeModel model) | 
| String | thisClassName() | 
| String | thisFormatVersion() | 
public static final DecisionTreeModel.SaveLoadV1_0$ MODULE$
public String thisFormatVersion()
public String thisClassName()
public void save(SparkContext sc, String path, DecisionTreeModel model)
public DecisionTreeModel load(SparkContext sc, String path, String algo, int numNodes)
public Node[] constructTrees(RDD<org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.NodeData> nodes)
public Node constructTree(org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.NodeData[] data)
data - array of all node data in a tree.