| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Statistics Toolbox |
| Contents | Index |
| Learn more about Statistics Toolbox |
Create CompactTreeBagger object
When you use the TreeBagger constructor to grow trees, it creates a CompactTreeBagger object. You can obtain the compact object from the full TreeBagger object using the TreeBagger/compact method. You do not create an instance of CompactTreeBagger directly.
Regression and Classification by Bagging Decision Trees, Grouped Data
![]() | CompactTreeBagger class | ComputeOOBPrediction property (TreeBagger) | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |