scikit-learn/scikit-learn — pull request #1464 by amueller (2012-12-11 20:45:36+00:00)
Title: WIP Class weight refactor

Refactor ``class_weights`` from SGDClassifier and SVC, which enables the use of ``classes_`` in SVC.

I put it in ``utils.__init__``, since I didn't know a where else to put it. Ideas welcome.

Closes #745, #1037.