Import errors were the real issue here. The failing test is a numerical
stability issue that has already been raised somewhere else.
Thank you for your help confirming that the latest build works, and my
deepest apologies for the buggy binaries before!
We have 3/3 confirming, I think the issue can be closed and I can be
rehabilitated in the public eye :)
Best,
Vlad
On Sat, Sep 24, 2011 at 3:25 PM, <[email protected]> wrote:
>
>
> On Sat, Sep 24, 2011 at 8:08 AM, Vlad Niculae <[email protected]> wrote:
>
>> The date should be 24th I think since I uploaded it late at night.
>> You can get it from PyPI:
>> http://pypi.python.org/pypi?:action=display&name=scikit-learn&version=0.9
>> I sure hope it will work, there have been two success stories on this
>> thread.
>>
>> Sorry for the whole mixup.
>>
>
> I didn't see the exe file on pypi this morning
>
> importing svm is fine, tests raise some errors
>
> What's the numpy requirement? I didn't see any information in the
> documentation about version requirements.
> http://scikit-learn.sourceforge.net/stable/install.html
>
> ======================================================================
> FAIL: Check the performance of hashing numpy arrays:
> ----------------------------------------------------------------------
>
> Traceback (most recent call last):
> File "C:\Python26\lib\site-packages\nose-1.0.0-py2.6.egg\nose\case.py",
> line 1
> 87, in runTest
> self.test(*self.arg)
> AssertionError
>
> ======================================================================
> FAIL: Check that lars_path is robust to collinearity in input
> ----------------------------------------------------------------------
>
> Traceback (most recent call last):
> File "C:\Python26\lib\site-packages\nose-1.0.0-py2.6.egg\nose\case.py",
> line 1
> 87, in runTest
> self.test(*self.arg)
> File
> "C:\Python26\lib\site-packages\sklearn\linear_model\tests\test_least_angl
> e.py", line 86, in test_collinearity
> assert_array_almost_equal(np.dot(X, coef_path_[:, -1]), y)
> File "C:\Python26\lib\site-packages\numpy\testing\utils.py", line 774, in
> asse
> rt_array_almost_equal
> header='Arrays are not almost equal')
> File "C:\Python26\lib\site-packages\numpy\testing\utils.py", line 618, in
> asse
> rt_array_compare
> raise AssertionError(msg)
> AssertionError:
> Arrays are not almost equal
>
> (mismatch 100.0%)
> x: array([ 0.5 , -0.25 , -0.125])
> y: array([ 1., 0., 0.])
>
> ======================================================================
> FAIL: Test either above import has failed for some reason
> ----------------------------------------------------------------------
>
> Traceback (most recent call last):
> File "C:\Python26\lib\site-packages\nose-1.0.0-py2.6.egg\nose\case.py",
> line 1
> 87, in runTest
> self.test(*self.arg)
> File "C:\Python26\lib\site-packages\sklearn\tests\test_init.py", line 24,
> in t
> est_import_skl
> assert_equal(_top_import_error, None)
> AssertionError: ImportError('numpy.core.multiarray failed to import',) !=
> None
>
> ----------------------------------------------------------------------
> Ran 761 tests in 74.646s
>
> FAILED (SKIP=2, errors=5, failures=3)
> <nose.result.TextTestResult run=761 errors=5 failures=3>
>
> The other errors all look like
> ImportError: numpy.core.multiarray failed to import
>
> >>> import numpy
> >>> numpy.__version__
> '1.5.1'
> >>>
>
> Josef
>
>
>> Vlad
>>
>> On Sat, Sep 24, 2011 at 3:04 PM, <[email protected]> wrote:
>>
>>>
>>>
>>> On Sat, Sep 24, 2011 at 7:52 AM, Vlad Niculae <[email protected]> wrote:
>>>
>>>> Hi Josef,
>>>> Does this (still) happen using the installer uploaded yesterday evening?
>>>>
>>>
>>> I downloaded it this morning after I saw Gael's initial message, but
>>> maybe the new file hasn't propagated yet on sourceforge
>>>
>>> scikit-learn-0.9.win32-py2.6.exe<http://sourceforge.net/projects/scikit-learn/files/scikit-learn-0.9.win32-py2.6.exe/download>
>>> 2011-09-22
>>> 1,702,188 bytes
>>>
>>> I don't have a hash.
>>>
>>> Josef
>>>
>>>
>>>>
>>>> Best,
>>>> Vlad
>>>>
>>>> On Sat, Sep 24, 2011 at 1:37 PM, <[email protected]> wrote:
>>>> >
>>>> >
>>>> > On Sat, Sep 24, 2011 at 5:20 AM, Gael Varoquaux
>>>> > <[email protected]> wrote:
>>>> >>
>>>> >> On Thu, Sep 22, 2011 at 09:25:30AM -0700, hesety wrote:
>>>> >> > >>> from sklearn import svm
>>>> >>
>>>> >> > Traceback (most recent call last):
>>>> >> > File "<pyshell#0>", line 1, in <module>
>>>> >> > from sklearn import svm
>>>> >> > File "C:\Python26\lib\site-packages\sklearn\__init__.py", line
>>>> 19, in
>>>> >> > <module>
>>>> >> > raise ImportError("Please do not forget to run `make` first")
>>>> >> > ImportError: Please do not forget to run `make` first
>>>> >>
>>>> >>
>>>> >> > I installed 'scikit-learn-0.9.win32-py2.6' in just simple
>>>> 'double-click
>>>> >> > '.
>>>> >>
>>>> >> > Is it bugs?
>>>> >>
>>>> >> This does look like 'bugs' to me. I can't reproduce is, but I am not
>>>> >> under Windows, so it doesn't mean much. Can you give us the contents
>>>> of
>>>> >> your C:\Python26\lib\site-packages\sklearn\check_build directory,
>>>> please?
>>>> >>
>>>> >> Can other people reproduce this? It would be great to diagnose it, as
>>>> if
>>>> >> this is what Windows users are getting, it is not a great user
>>>> experience
>>>> >> :)
>>>> >
>>>> > also with doubleclick install on Windows 7, I get a different
>>>> exceptions
>>>> > after running sklearn.test() first
>>>> >
>>>> > Ran 476 tests in 37.315s
>>>> >
>>>> > FAILED (SKIP=1, errors=21, failures=5)
>>>> > <nose.result.TextTestResult run=476 errors=21 failures=5>
>>>> >
>>>> >>>> from sklearn import svm
>>>> > Traceback (most recent call last):
>>>> > File "<stdin>", line 1, in <module>
>>>> > File "C:\Python26\lib\site-packages\sklearn\svm\__init__.py", line
>>>> 13, in
>>>> > <mod
>>>> > ule>
>>>> > from .classes import SVC, NuSVC, SVR, NuSVR, OneClassSVM,
>>>> LinearSVC
>>>> > File "C:\Python26\lib\site-packages\sklearn\svm\classes.py", line 2,
>>>> in
>>>> > <modul
>>>> > e>
>>>> > from ..linear_model.base import CoefSelectTransformerMixin
>>>> > File
>>>> "C:\Python26\lib\site-packages\sklearn\linear_model\__init__.py",
>>>> > line 26
>>>> > , in <module>
>>>> > from .logistic import LogisticRegression
>>>> > File
>>>> "C:\Python26\lib\site-packages\sklearn\linear_model\logistic.py",
>>>> > line 5,
>>>> > in <module>
>>>> > from ..svm.base import BaseLibLinear
>>>> > File "C:\Python26\lib\site-packages\sklearn\svm\base.py", line 3, in
>>>> > <module>
>>>> > from . import libsvm, liblinear
>>>> > ImportError: DLL load failed: The specified procedure could not be
>>>> found.
>>>> >
>>>> >>>> sklearn.__file__
>>>> > 'C:\\Python26\\lib\\site-packages\\sklearn\\__init__.pyc'
>>>> >>>> sklearn.__version__
>>>> > '0.9'
>>>> >>>>
>>>> >
>>>> > Josef
>>>> >
>>>> >>
>>>> >> Gael
>>>> >>
>>>> >>
>>>> >>
>>>> ------------------------------------------------------------------------------
>>>> >> All of the data generated in your IT infrastructure is seriously
>>>> valuable.
>>>> >> Why? It contains a definitive record of application performance,
>>>> security
>>>> >> threats, fraudulent activity, and more. Splunk takes this data and
>>>> makes
>>>> >> sense of it. IT sense. And common sense.
>>>> >> http://p.sf.net/sfu/splunk-d2dcopy2
>>>> >> _______________________________________________
>>>> >> Scikit-learn-general mailing list
>>>> >> [email protected]
>>>> >> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>>> >
>>>> >
>>>> >
>>>> ------------------------------------------------------------------------------
>>>> > All of the data generated in your IT infrastructure is seriously
>>>> valuable.
>>>> > Why? It contains a definitive record of application performance,
>>>> security
>>>> > threats, fraudulent activity, and more. Splunk takes this data and
>>>> makes
>>>> > sense of it. IT sense. And common sense.
>>>> > http://p.sf.net/sfu/splunk-d2dcopy2
>>>> > _______________________________________________
>>>> > Scikit-learn-general mailing list
>>>> > [email protected]
>>>> > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>>> >
>>>> >
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> All of the data generated in your IT infrastructure is seriously
>>>> valuable.
>>>> Why? It contains a definitive record of application performance,
>>>> security
>>>> threats, fraudulent activity, and more. Splunk takes this data and makes
>>>> sense of it. IT sense. And common sense.
>>>> http://p.sf.net/sfu/splunk-d2dcopy2
>>>> _______________________________________________
>>>> Scikit-learn-general mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> All of the data generated in your IT infrastructure is seriously
>>> valuable.
>>> Why? It contains a definitive record of application performance, security
>>> threats, fraudulent activity, and more. Splunk takes this data and makes
>>> sense of it. IT sense. And common sense.
>>> http://p.sf.net/sfu/splunk-d2dcopy2
>>> _______________________________________________
>>> Scikit-learn-general mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> All of the data generated in your IT infrastructure is seriously valuable.
>> Why? It contains a definitive record of application performance, security
>> threats, fraudulent activity, and more. Splunk takes this data and makes
>> sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-d2dcopy2
>> _______________________________________________
>> Scikit-learn-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>
>>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general