Class InformationGainStats

Object
org.apache.spark.mllib.tree.model.InformationGainStats
All Implemented Interfaces:
Serializable, scala.Serializable

public class InformationGainStats extends Object implements scala.Serializable
Information gain statistics for each split param: gain information gain value param: impurity current node impurity param: leftImpurity left node impurity param: rightImpurity right node impurity param: leftPredict left node predict param: rightPredict right node predict
See Also:
  • Constructor Details

    • InformationGainStats

      public InformationGainStats(double gain, double impurity, double leftImpurity, double rightImpurity, Predict leftPredict, Predict rightPredict)
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • gain

      public double gain()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • impurity

      public double impurity()
    • leftImpurity

      public double leftImpurity()
    • leftPredict

      public Predict leftPredict()
    • rightImpurity

      public double rightImpurity()
    • rightPredict

      public Predict rightPredict()
    • toString

      public String toString()
      Overrides:
      toString in class Object