Package | Description |
---|---|
org.apache.ignite.ml.tree.randomforest.data.impurity |
Contains implementation of impurity computers based on histograms.
|
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 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). |
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). |
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 features.
|
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.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019