How does 'InBagFraction' work in Treebagger?
显示 更早的评论
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!
回答(1 个)
marta prati
2019-2-3
编辑:marta prati
2019-2-3
0 个投票
Just in case someone ends up here as me!
类别
在 帮助中心 和 File Exchange 中查找有关 Classification Ensembles 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!