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

Reply via email to