Object
org.apache.spark.mllib.tree.model.Predict
- All Implemented Interfaces:
Serializable
, scala.Serializable
public class Predict
extends Object
implements scala.Serializable
Predicted value for a node
param: predict predicted value
param: prob probability of the label (classification only)
- See Also:
-
-
Constructor Summary
Constructors
Predict(double predict,
double prob)
-
Method Summary
boolean
int
double
double
-
Constructor Details
-
Predict
public Predict(double predict,
double prob)
-
Method Details
-
predict
public double predict()
-
prob
public double prob()
-
-
-