I'm looking to change the performance metric used to optimize the training for my data set because it is highly unbalance. Because it's highly unbalanced, I don't feel like accuracy is the appropriate metric to optimize and I can't seem to be able to find how to change it in the random-forest documentation.

What parameter do I have to change in the function in order to optimize according to Cohen's kappa for example?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.