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!