public class DecisionTreeModel.SaveLoadV1_0$.PredictData
extends Object
implements scala.Product, scala.Serializable
Constructor and Description |
---|
PredictData(double predict,
double prob) |
Modifier and Type | Method and Description |
---|---|
static org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.PredictData |
apply(Predict p) |
static org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.PredictData |
apply(Row r) |
double |
predict() |
double |
prob() |
Predict |
toPredict() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.PredictData apply(Predict p)
public static org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.PredictData apply(Row r)
public double predict()
public double prob()
public Predict toPredict()