Is it possible to set specific OOBIndices in TreeBagger
1 次查看(过去 30 天)
显示 更早的评论
I am trying to use TreeBagger for an image analysis algorithm in which the image is broken in n number of areas that I am trying to classify. I would like to specific OOBIndices so the OOB areas are from the same images. Meaning that the OOB randomization happens at the level of the image and not at the level of the area.
Thanks Walid
0 个评论
回答(2 个)
Ilya
2014-12-25
To train TreeBagger, you pass X and Y. If "image" is your entire data X and if "areas" are your class labels Y, you already have that. OOB observations are drawn from the entire data, not from data for one specific class. If this is not what you mean, please clarify.
Yiwen Mei
2018-9-22
I am facing a similar question. I want to set OOBIndices to specific elements rather than letting Matlab to randomly pick. Is it possible?
Thank you, Yiwen
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classification Ensembles 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!