scikit-learn/scikit-learn — Issue #630: Regression in SVC.decision_function
Author: ogrisel
Created: 2012-02-15 07:33:52+00:00
State: open

This change by @amueller
https://github.com/scikit-learn/scikit-learn/commit/658897497399147a78fad5f7001fc62dd1e487ed

breaks the ability to train an OVA model with SVC as demonstrated by the following snippet by @mblondel :

```
def test_ovr_fit_predict_svc():
ovr = OneVsRestClassifier(SVC())
pred = ovr.fit(iris.data, iris.target).predict(iris.data)
assert_equal(len(ovr.estimators_), n_classes)
print ovr.score(iris.data, iris.target)
```