Class Predict

Object
org.apache.spark.mllib.tree.model.Predict
All Implemented Interfaces:
Serializable

public class Predict extends Object implements Serializable
Predicted value for a node param: predict predicted value param: prob probability of the label (classification only)
See Also:
  • Constructor Details

    • Predict

      public Predict(double predict, double prob)
  • Method Details

    • 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