public abstract class ImpurityHistogram extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Set<Integer> |
bucketIds
Bucket ids.
|
protected int |
featureId
Feature id.
|
Constructor and Description |
---|
ImpurityHistogram(int featureId)
Creates an instance of ImpurityHistogram.
|
Modifier and Type | Method and Description |
---|---|
protected Optional<NodeSplit> |
checkAndReturnSplitValue(int bestBucketId,
double bestSplitVal,
double bestGain,
double impurity)
Checks split value validity and return Optional-wrap of it.
|
public ImpurityHistogram(int featureId)
featureId
- Feature id.protected Optional<NodeSplit> checkAndReturnSplitValue(int bestBucketId, double bestSplitVal, double bestGain, double impurity)
bestBucketId
- Best bucket id.bestSplitVal
- Best split value.bestGain
- Best gain.impurity
- Node's impurity.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024