scikit-learn/scikit-learn — pull request #1747 by amueller (2013-03-06 21:45:45+00:00)
Title: FIX weird interface for compute_class_weight

Correct fix for #1746 (I think). Thanks @gatagat.