Class DecisionTreeModel.SaveLoadV1_0$

Object
org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0$
Enclosing class:
DecisionTreeModel

public static class DecisionTreeModel.SaveLoadV1_0$ extends Object
  • Field Details

  • Constructor Details

    • SaveLoadV1_0$

      public SaveLoadV1_0$()
  • Method Details

    • thisFormatVersion

      public String thisFormatVersion()
    • thisClassName

      public String thisClassName()
    • save

      public void save(SparkContext sc, String path, DecisionTreeModel model)
    • load

      public DecisionTreeModel load(SparkContext sc, String path, String algo, int numNodes)
    • constructTrees

      public Node[] constructTrees(RDD<org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.NodeData> nodes)
    • 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)