## Uses of Class
org.apache.ignite.ml.dataset.feature.ObjectHistogram

- Packages that use ObjectHistogram
  Package | Description
  --- | ---
  org.apache.ignite.ml.dataset.feature | Package for helper classes over features such as `ObjectHistogram` or `FeatureMeta`.
  org.apache.ignite.ml.tree.randomforest | Contains random forest implementation classes.
  org.apache.ignite.ml.tree.randomforest.data.impurity.basic | Contains implementation of basic classes for impurity computers.
  org.apache.ignite.ml.tree.randomforest.data.statistics | Contains implementation of statistics computers for Random Forest.

- - ### Uses of ObjectHistogram in org.apache.ignite.ml.dataset.feature

    Methods in org.apache.ignite.ml.dataset.feature that return ObjectHistogram
    Modifier and Type | Method and Description
    --- | ---
    `abstract ObjectHistogram<T>` | ObjectHistogram.`newInstance()` Creates an instance of ObjectHistogram from child class.
    `ObjectHistogram<T>` | ObjectHistogram.`plus(ObjectHistogram<T> other)`

    Methods in org.apache.ignite.ml.dataset.feature with parameters of type ObjectHistogram
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | ObjectHistogram.`isEqualTo(ObjectHistogram<T> other)` Compares histogram with other and returns true if they are equals
    `ObjectHistogram<T>` | ObjectHistogram.`plus(ObjectHistogram<T> other)`

  - ### Uses of ObjectHistogram in org.apache.ignite.ml.tree.randomforest

    Methods in org.apache.ignite.ml.tree.randomforest that return types with arguments of type ObjectHistogram
    Modifier and Type | Method and Description
    --- | ---
    `protected LeafValuesComputer<ObjectHistogram<BootstrappedVector>>` | RandomForestClassifierTrainer.`createLeafStatisticsAggregator()` Creates an instance of Leaf Statistics Aggregator corresponding to RF implementation.

  - ### Uses of ObjectHistogram in org.apache.ignite.ml.tree.randomforest.data.impurity.basic

    Subclasses of ObjectHistogram in org.apache.ignite.ml.tree.randomforest.data.impurity.basic
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BootstrappedVectorsHistogram` Histogram for bootstrapped vectors with predefined bucket mapping logic for feature id == featureId.
    `class` | `CountersHistogram` Represents a histogram of element counts per bucket.

    Methods in org.apache.ignite.ml.tree.randomforest.data.impurity.basic that return ObjectHistogram
    Modifier and Type | Method and Description
    --- | ---
    `ObjectHistogram<BootstrappedVector>` | CountersHistogram.`newInstance()` Creates an instance of ObjectHistogram from child class.

  - ### Uses of ObjectHistogram in org.apache.ignite.ml.tree.randomforest.data.statistics

    Methods in org.apache.ignite.ml.tree.randomforest.data.statistics that return ObjectHistogram
    Modifier and Type | Method and Description
    --- | ---
    `protected ObjectHistogram<BootstrappedVector>` | ClassifierLeafValuesComputer.`createLeafStatsAggregator(int sampleId)` Creates an instance of leaf statistics aggregator in according to concrete algorithm based on RandomForest.
    `protected ObjectHistogram<BootstrappedVector>` | ClassifierLeafValuesComputer.`mergeLeafStats(ObjectHistogram<BootstrappedVector> leftStats, ObjectHistogram<BootstrappedVector> rightStats)` Merge statistics for same leafs.

    Methods in org.apache.ignite.ml.tree.randomforest.data.statistics with parameters of type ObjectHistogram
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | ClassifierLeafValuesComputer.`addElementToLeafStatistic(ObjectHistogram<BootstrappedVector> leafStatAggr, BootstrappedVector vec, int sampleId)` Save vector to leaf statistic.
    `protected double` | ClassifierLeafValuesComputer.`computeLeafValue(ObjectHistogram<BootstrappedVector> stat)` Returns the most frequent value in according to statistic.
    `protected ObjectHistogram<BootstrappedVector>` | ClassifierLeafValuesComputer.`mergeLeafStats(ObjectHistogram<BootstrappedVector> leftStats, ObjectHistogram<BootstrappedVector> rightStats)` Merge statistics for same leafs.
    `protected ObjectHistogram<BootstrappedVector>` | ClassifierLeafValuesComputer.`mergeLeafStats(ObjectHistogram<BootstrappedVector> leftStats, ObjectHistogram<BootstrappedVector> rightStats)` Merge statistics for same leafs.

2022 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.13.0
Release Date | : April 20 2022