Class InformationGainStats
Object
org.apache.spark.mllib.tree.model.InformationGainStats
- All Implemented Interfaces:
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 Summary
ConstructorDescriptionInformationGainStats
(double gain, double impurity, double leftImpurity, double rightImpurity, Predict leftPredict, Predict rightPredict) -
Method Summary
-
Constructor Details
-
InformationGainStats
-
-
Method Details
-
equals
-
gain
public double gain() -
hashCode
public int hashCode() -
impurity
public double impurity() -
leftImpurity
public double leftImpurity() -
leftPredict
-
rightImpurity
public double rightImpurity() -
rightPredict
-
toString
-