After i clean up everything, and run make command, everything seems OK.

The previous results are got by following the README:

"""
After installation, you can launch the test suite from outside the
source directory (you will need to have nosetests installed)::

    $ nosetests --exe sklearn
"""

On 01/16/2013 10:07 PM, Andreas Mueller wrote:
> Hi Kang.
> Are you on the very current master?
> And did you rebuild using "make" after checking out?
>
> Cheers,
> Andy
>
>
> Am 16.01.2013 15:01, schrieb Kang Haiyang:
>> hi,
>>
>> with the scikit-learn 0.13-git source,  i got the following nosetests
>> result:
>>
>> ======================================================================
>> ERROR: Split arrays or matrices into random train and test subsets
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>      File
>> "/home/dog/dev/pydata/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/case.py",
>> line 197, in runTest
>>        self.test(*self.arg)
>>      File
>> "/home/dog/dev/pydata/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/util.py",
>> line 622, in newfunc
>>        return func(*arg, **kw)
>>      File
>> "/home/dog/dev/pydata/local/lib/python2.7/site-packages/sklearn/cross_validation.py",
>> line 1349, in train_test_split
>>        raise ValueError("At least one array required as input")
>> ValueError: At least one array required as input
>>
>> ----------------------------------------------------------------------
>> Ran 1325 tests in 195.387s
>>
>> FAILED (SKIP=14, errors=1)
>>
>> After viewed the cross_validation.py file, the train_test_split seems
>> that it is not a test case, is it true?
>>
>> Kang Haiyang
>>
>> ------------------------------------------------------------------------------
>> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
>> and much more. Keep your Java skills current with LearnJavaNow -
>> 200+ hours of step-by-step video tutorials by Java experts.
>> SALE $49.99 this month only -- learn more at:
>> http://p.sf.net/sfu/learnmore_122612
>> _______________________________________________
>> Scikit-learn-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
> ------------------------------------------------------------------------------
> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
> and much more. Keep your Java skills current with LearnJavaNow -
> 200+ hours of step-by-step video tutorials by Java experts.
> SALE $49.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122612
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>


------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to