Is it possible to set specific OOBIndices in TreeBagger
Mostrar comentarios más antiguos
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
Respuestas (2)
Ilya
el 25 de Dic. de 2014
0 votos
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
el 22 de Sept. de 2018
0 votos
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
Categorías
Más información sobre Classification Ensembles en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!