Azzera filtri
Azzera filtri

Can cost in TreeBagger be larger than 1?

2 visualizzazioni (ultimi 30 giorni)
steven
steven il 14 Mag 2017
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 ?

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!