I am training a classifier using python random forest classifier. Here is detail of my data:
total training data= 7656
class 1=1052
class 2= 95
class 3=215
class 4=109
class 5=2170
class 6=4015
As you can see that the data is highly unbalance. In testing mode I am almost missing class 2,3 and 4. How I can balance my classifier. Any hint will be highely appreciated.