Guest User

Untitled

a guest
Jan 8th, 2013
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. NHV-laptop:~ nhv$ ipython
  2. Python 2.7.3 (default, Dec 21 2012, 07:32:34)
  3. Type "copyright", "credits" or "license" for more information.
  4.  
  5. IPython 0.14.dev -- An enhanced Interactive Python.
  6. ? -> Introduction and overview of IPython's features.
  7. %quickref -> Quick reference.
  8. help -> Python's own help system.
  9. object? -> Details about 'object', use 'object??' for extra details.
  10.  
  11. In [1]: from milk import tests
  12.  
  13. In [2]: tests.run()
  14. ............................................................/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/milk-0.5_git-py2.7-macosx-10.8-x86_64.egg/milk/measures/nfoldcrossvalidation.py:69: UserWarning: milk.measures.nfoldcrossvalidation: Reducing the nr. of folds from 15 to 10 (minimum class size).
  15. warn('milk.measures.nfoldcrossvalidation: Reducing the nr. of folds from %s to %s (minimum class size).' % (nfolds, fmin))
  16. /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/milk-0.5_git-py2.7-macosx-10.8-x86_64.egg/milk/measures/nfoldcrossvalidation.py:69: UserWarning: milk.measures.nfoldcrossvalidation: Reducing the nr. of folds from 20 to 10 (minimum class size).
  17. warn('milk.measures.nfoldcrossvalidation: Reducing the nr. of folds from %s to %s (minimum class size).' % (nfolds, fmin))
  18. ....................................../usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/milk-0.5_git-py2.7-macosx-10.8-x86_64.egg/milk/supervised/featureselection.py:242: UserWarning: milk.featureselection: No features selected! Using all features as fall-back.
  19. warnings.warn('milk.featureselection: No features selected! Using all features as fall-back.')
  20. ./usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/milk-0.5_git-py2.7-macosx-10.8-x86_64.egg/milk/measures/nfoldcrossvalidation.py:69: UserWarning: milk.measures.nfoldcrossvalidation: Reducing the nr. of folds from 10 to 5 (minimum class size).
  21. warn('milk.measures.nfoldcrossvalidation: Reducing the nr. of folds from %s to %s (minimum class size).' % (nfolds, fmin))
  22. ............F....................
  23. ======================================================================
  24. FAIL: milk.tests.test_svm.test_platt_correction_class
  25. ----------------------------------------------------------------------
  26. Traceback (most recent call last):
  27. File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
  28. self.test(*self.arg)
  29. File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/milk-0.5_git-py2.7-macosx-10.8-x86_64.egg/milk/tests/test_svm.py", line 136, in test_platt_correction_class
  30. assert model.B == B
  31. AssertionError
  32.  
  33. ----------------------------------------------------------------------
  34. Ran 132 tests in 54.648s
  35.  
  36. FAILED (failures=1)
  37.  
  38. In [3]:
Advertisement
Add Comment
Please, Sign In to add comment