Package | Description |
---|---|
org.apache.ignite.ml.tree.randomforest.data.impurity |
Contains implementation of impurity computers based on histograms.
|
org.apache.ignite.ml.tree.randomforest.data.impurity.basic |
Contains implementation of basic classes for impurity computers.
|
Modifier and Type | Method and Description |
---|---|
protected MSEHistogram |
MSEHistogramComputer.createImpurityComputerForFeature(int sampleId,
BucketMeta meta)
Creates impurity computer in according to specific algorithm based on random forest (for example
GiniHistogram for classification). |
protected GiniHistogram |
GiniHistogramsComputer.createImpurityComputerForFeature(int sampleId,
BucketMeta meta)
Creates impurity computer in according to specific algorithm based on random forest (for example
GiniHistogram for classification). |
protected abstract S |
ImpurityHistogramsComputer.createImpurityComputerForFeature(int sampleId,
BucketMeta meta)
Creates impurity computer in according to specific algorithm based on random forest (for example
GiniHistogram for classification). |
Modifier and Type | Method and Description |
---|---|
Map<NodeId,ImpurityHistogramsComputer.NodeImpurityHistograms<S>> |
ImpurityHistogramsComputer.aggregateImpurityStatistics(ArrayList<TreeRoot> roots,
Map<Integer,BucketMeta> histMeta,
Map<NodeId,TreeNode> nodesToLearn,
Dataset<EmptyContext,BootstrappedDatasetPartition> dataset)
Computes histograms for each feature.
|
Constructor and Description |
---|
GiniHistogram(int sampleId,
Map<Double,Integer> lblMapping,
BucketMeta bucketMeta)
Creates an instance of GiniHistogram.
|
MSEHistogram(int sampleId,
BucketMeta bucketMeta)
Creates an instance of MSEHistogram.
|
Modifier and Type | Field and Description |
---|---|
protected BucketMeta |
BootstrappedVectorsHistogram.bucketMeta
Bucket meta.
|
Constructor and Description |
---|
BootstrappedVectorsHistogram(Set<Integer> bucketIds,
BucketMeta bucketMeta,
int featureId)
Creates an instance of BootstrappedVectorsHistogram.
|
CountersHistogram(Set<Integer> bucketIds,
BucketMeta bucketMeta,
int featureId,
int sampleId)
Creates an instance of CountersHistogram.
|
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024