public class InformationGainStats
extends Object
implements scala.Serializable
Constructor and Description |
---|
InformationGainStats(double gain,
double impurity,
double leftImpurity,
double rightImpurity,
Predict leftPredict,
Predict rightPredict) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
double |
gain() |
double |
impurity() |
static InformationGainStats |
invalidInformationGainStats()
An
InformationGainStats object to
denote that current split doesn't satisfies minimum info gain or
minimum number of instances per node. |
double |
leftImpurity() |
Predict |
leftPredict() |
double |
rightImpurity() |
Predict |
rightPredict() |
String |
toString() |
public static InformationGainStats invalidInformationGainStats()
InformationGainStats
object to
denote that current split doesn't satisfies minimum info gain or
minimum number of instances per node.public double gain()
public double impurity()
public double leftImpurity()
public double rightImpurity()
public Predict leftPredict()
public Predict rightPredict()
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object