Random forest with weights for classes