## Uses of Class
org.apache.ignite.ml.tree.randomforest.data.TreeRoot

- Packages that use TreeRoot
  Package | Description
  --- | ---
  org.apache.ignite.ml.tree.randomforest | Contains random forest implementation classes.
  org.apache.ignite.ml.tree.randomforest.data.impurity | Contains implementation of impurity computers based on histograms.
  org.apache.ignite.ml.tree.randomforest.data.statistics | Contains implementation of statistics computers for Random Forest.

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

    Methods in org.apache.ignite.ml.tree.randomforest that return types with arguments of type TreeRoot
    Modifier and Type | Method and Description
    --- | ---
    `protected ArrayList<TreeRoot>` | RandomForestTrainer.`initTrees(Queue<TreeNode> treesQueue)` Creates list of trees.

    Method parameters in org.apache.ignite.ml.tree.randomforest with type arguments of type TreeRoot
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract ModelsComposition` | RandomForestTrainer.`buildComposition(List<TreeRoot> models)` Returns composition of built trees.
    `protected ModelsComposition` | RandomForestRegressionTrainer.`buildComposition(List<TreeRoot> models)` Returns composition of built trees.
    `protected ModelsComposition` | RandomForestClassifierTrainer.`buildComposition(List<TreeRoot> models)` Returns composition of built trees.

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

    Method parameters in org.apache.ignite.ml.tree.randomforest.data.impurity with type arguments of type TreeRoot
    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.

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

    Method parameters in org.apache.ignite.ml.tree.randomforest.data.statistics with type arguments of type TreeRoot
    Modifier and Type | Method and Description
    --- | ---
    `void` | LeafValuesComputer.`setValuesForLeaves(ArrayList<TreeRoot> roots, Dataset<EmptyContext,BootstrappedDatasetPartition> dataset)` Takes a list of all built trees and in one map-reduceImpurityStatistics step collect statistics for evaluating leaf-values for each tree and sets values for leaves.

2020 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.9.1
Release Date | : December 9 2020