org.apache.spark.mllib.tree.model
Class Predict

Object
  extended by org.apache.spark.mllib.tree.model.Predict
All Implemented Interfaces:
java.io.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:
Serialized Form

Constructor Summary
Predict(double predict, double prob)
           
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 double predict()
           
 double prob()
           
 String toString()
           
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Predict

public Predict(double predict,
               double prob)
Method Detail

predict

public double predict()

prob

public double prob()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object