Hi,
He is running numpy 1.6.2. I have found out that numpy guys are renewing
their error management system so that they have generic error messages
(that is why googling the error message doesn't give any clue...). You can
see one of these patches here :
https://github.com/numpy/numpy/commit/51616c9265155f75e536ba19c32f9f91337243af
We can see that, in fact, the RuntimeError is now a ValueError. I have
checked and this happened with the 1.6.2 release of numpy (I have the 1.6.1
version on my computer and the test is fine).
Alexandre.
On Tue, Jul 24, 2012 at 5:10 PM, Olivier Grisel <[email protected]>wrote:
> 2012/7/24 Olivier Grisel <[email protected]>:
> > 2012/7/24 Virgile Fritsch <[email protected]>:
> >> Hi list,
> >>
> >> I got this error when pulling the last master state on my laptop:
> >>
> >>> ~/scikit-learn/sklearn/svm [master] $ nosetests
> >>> .................................................E....
> >>> ======================================================================
> >>> ERROR: Check that primal coef modification are not silently ignored
> >>> ----------------------------------------------------------------------
> >>> Traceback (most recent call last):
> >>> File "/usr/lib/pymodules/python2.7/nose/case.py", line 186, in
> runTest
> >>> self.test(*self.arg)
> >>> File "/home/virgile/scikit-learn/sklearn/svm/tests/test_svm.py", line
> >>> 574, in test_immutable_coef_property
> >>> assert_raises(RuntimeError, clf.coef_.__setitem__, (0, 0), 0)
> >>> File "/usr/lib/python2.7/unittest/case.py", line 465, in assertRaises
> >>> callableObj(*args, **kwargs)
> >>> ValueError: assignment destination is read-only
> >
> > Why version of numpy are you running?
>
> Hum, I meant which, not why...
>
> --
> Olivier
> http://twitter.com/ogrisel - http://github.com/ogrisel
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general