On Wed, Feb 15, 2012 at 7:31 AM, Olivier Grisel
<[email protected]> wrote:
> C is now scaled against the number of examples. You should re-grid
> search tune it or multiply it's old value my `n_samples`.

David did use scale_C=False...

I can reproduce the error by adding the following test to test_multiclass.py:

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)

git bisect tells me that the regression was introduced in:
https://github.com/scikit-learn/scikit-learn/commit/658897497399147a78fad5f7001fc62dd1e487ed

decision_function in SVC is lacking tests !

Mathieu

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to