Class DecisionTreeModel.SaveLoadV1_0$.NodeData

Object
org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0$.NodeData
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product
Enclosing class:
DecisionTreeModel.SaveLoadV1_0$

public class DecisionTreeModel.SaveLoadV1_0$.NodeData extends Object implements scala.Product, Serializable
Model data for model import/export
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    NodeData(int treeId, int nodeId, org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.PredictData predict, double impurity, boolean isLeaf, scala.Option<org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.SplitData> split, scala.Option<Object> leftNodeId, scala.Option<Object> rightNodeId, scala.Option<Object> infoGain)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.NodeData
    apply(int treeId, Node n)
     
    static org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.NodeData
     
    double
     
    scala.Option<Object>
     
    boolean
     
    scala.Option<Object>
     
    int
     
    org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.PredictData
     
    scala.Option<Object>
     
    scala.Option<org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.SplitData>
     
    int
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

    • NodeData

      public NodeData(int treeId, int nodeId, org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.PredictData predict, double impurity, boolean isLeaf, scala.Option<org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.SplitData> split, scala.Option<Object> leftNodeId, scala.Option<Object> rightNodeId, scala.Option<Object> infoGain)
  • Method Details

    • apply

      public static org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.NodeData apply(int treeId, Node n)
    • apply

      public static org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.NodeData apply(Row r)
    • treeId

      public int treeId()
    • nodeId

      public int nodeId()
    • predict

      public org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.PredictData predict()
    • impurity

      public double impurity()
    • isLeaf

      public boolean isLeaf()
    • split

      public scala.Option<org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.SplitData> split()
    • leftNodeId

      public scala.Option<Object> leftNodeId()
    • rightNodeId

      public scala.Option<Object> rightNodeId()
    • infoGain

      public scala.Option<Object> infoGain()