How does 'InBagFraction' work in Treebagger?
Show older comments
I'm confused on how the 'InBagFraction' parameter works in Treebagger. With the defaults of 'SampleWithReplacement' as on and 'InBagFraction' as 1, that doesn't really seem to follow the idea of sample with replacement. Does the default value 1 mean that the entire input data is used to grow each tree? Does 0.5 mean only half of the input data (randomly selected) is used to grow each tree?
Thanks!
Answers (1)
marta prati
on 3 Feb 2019
Edited: marta prati
on 3 Feb 2019
0 votes
Just in case someone ends up here as me!
Categories
Find more on Classification Ensembles in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!