34983
scikit-learn Docs · نسخهٔ 5e9184e53cd3 · BSD-3-Clause
utils.class_weight.compute_class_weightnow preserves numeric-looking
string class labels when using dictionary class weights, fixing failures for estimators such as random forests with class_weight="balanced". By Tony Bagnall <TonyBagnall>.