Most classifier models have a parameter named class_weights for the fit method. It would be more user friendly to also have it as a constructor parameter to be able to do grid search on it and potentially to have class_weights='auto' enabled by default.