public class DecisionTreeModel.SaveLoadV1_0$.NodeData
extends Object
implements scala.Product, scala.Serializable
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
double |
impurity() |
scala.Option<Object> |
infoGain() |
boolean |
isLeaf() |
scala.Option<Object> |
leftNodeId() |
int |
nodeId() |
org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.PredictData |
predict() |
scala.Option<Object> |
rightNodeId() |
scala.Option<org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.SplitData> |
split() |
int |
treeId() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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)
public int treeId()
public int nodeId()
public org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.PredictData predict()
public double impurity()
public boolean isLeaf()
public scala.Option<org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.SplitData> split()
public scala.Option<Object> leftNodeId()
public scala.Option<Object> rightNodeId()
public scala.Option<Object> infoGain()