Does TreeBagger perform cross validation?

5 views (last 30 days)
Does MATLAB's TreeBagger perform cross validation?
If so, what are the default parameters that TreeBagger uses for this?

Answers (1)

Prasannavenkatesh
Prasannavenkatesh on 9 Jul 2023
Hi Barry,
Cross validation can be applied to TreeBagger using the crossval function. fitctree also has a cross validation option.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!