CompactTreeBagger class -
Compact ensemble of decision trees grown by bootstrap
aggregation
Description
CompactTreeBagger class is a lightweight
class that contains the trees grown using TreeBagger.
CompactTreeBagger does not preserve any information
about how TreeBagger grew the decision trees. It
does not contain the input data used for growing trees, nor does it
contain training parameters such as minimal leaf size or number of
variables sampled for each decision split at random. You can only
use CompactTreeBagger for predicting the response
of the trained ensemble given new data X, and other
related functions.
CompactTreeBagger lets you save the trained
ensemble to disk, or use it in any other way, while discarding training
data and various parameters of the training configuration irrelevant
for predicting response of the fully grown ensemble. This reduces
storage and memory requirements, especially for ensembles trained
on large datasets.
Construction
Methods
Properties
Copy Semantics
Value. To learn how this affects your use of the class, see Comparing Handle and Value
Classes in the MATLAB Object-Oriented Programming documentation.
See Also
classregtree
Regression and Classification by Bagging Decision Trees
Classification Trees
Regression Trees
Grouped Data
 | compact (TreeBagger) | | CompactTreeBagger |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit