Can cost in TreeBagger be larger than 1?
조회 수: 2 (최근 30일)
이전 댓글 표시
I am using the treebagger to do classification between multi classes .But for my data, there is an important class which is easy to be predited to others.So I want to solve this problem by making the cost larger of that class.The default cost is 1(class i ~=j) and 0(class i~=j),I set one of the cost to be 2,but there is no change in myTreeBagger.cost. Can anyone help me ?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 分类集成에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!