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.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025