adjust use of class weights, since it's looking at classification error