Does TreeBagger perform cross validation?

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

Réponses (1)

Prasannavenkatesh
Prasannavenkatesh le 9 Juil 2023

0 votes

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!

Translated by