T
- Type of this impurity measure.public interface ImpurityMeasure<T extends ImpurityMeasure<T>> extends Comparable<T>, Serializable
Modifier and Type | Method and Description |
---|---|
T |
add(T measure)
Adds the given impurity to this.
|
default int |
compareTo(T o) |
double |
impurity()
Calculates impurity measure as a single double value.
|
T |
subtract(T measure)
Subtracts the given impurity for this.
|
double impurity()
T add(T measure)
measure
- Another impurity.T subtract(T measure)
measure
- Another impurity.default int compareTo(T o)
compareTo
in interface Comparable<T extends ImpurityMeasure<T>>
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024