public abstract class ImpurityHistogram extends Object
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.7.2 Release Date : February 6 2019