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 bestImpurity)
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 bestImpurity)
bestBucketId - Best bucket id.bestSplitVal - Best split value.bestImpurity - Best impurity.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.14.0 Release Date : September 29 2022