It is necessary to build a multiple classifier (5 classes) on a highly unbalanced sample.
> table(d$class) 0 0.3 0.5 0.7 1 12385 736 733 25 1869 If you just run RandomForest , then nothing happens. So, we must somehow balance it. But I don’t know how to do this. All packages found by balancing assume only binary classification. Watched packages:
- unbalanced
- Rose
Read this article .
I thought maybe in the RandomForest there is an opportunity to set the cost or sampling - it was also not found. How can this problem be solved?