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.
댓글 수: 2
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!