Does TreeBagger perform cross validation?

Does MATLAB's TreeBagger perform cross validation?
If so, what are the default parameters that TreeBagger uses for this?

Answers (1)

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

Asked:

on 2 May 2019

Community Treasure Hunt

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

Start Hunting!