Class DecisionTreeModel.SaveLoadV1_0$
Object
org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0$
- Enclosing class:
- DecisionTreeModel
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Model data for model import/exportclass
class
class
class
class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DecisionTreeModel.SaveLoadV1_0$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconstructTree
(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) load
(SparkContext sc, String path, String algo, int numNodes) void
save
(SparkContext sc, String path, DecisionTreeModel model)
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
SaveLoadV1_0$
public SaveLoadV1_0$()
-
-
Method Details
-
thisFormatVersion
-
thisClassName
-
save
-
load
-
constructTrees
-
constructTree
public Node constructTree(org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.NodeData[] data) Given a list of nodes from a tree, construct the tree.- Parameters:
data
- array of all node data in a tree.- Returns:
- (undocumented)
-