Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NHV-laptop:~ nhv$ ipython
- Python 2.7.3 (default, Dec 21 2012, 07:32:34)
- Type "copyright", "credits" or "license" for more information.
- IPython 0.14.dev -- An enhanced Interactive Python.
- ? -> Introduction and overview of IPython's features.
- %quickref -> Quick reference.
- help -> Python's own help system.
- object? -> Details about 'object', use 'object??' for extra details.
- In [1]: from milk import tests
- In [2]: tests.run()
- ............................................................/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).
- warn('milk.measures.nfoldcrossvalidation: Reducing the nr. of folds from %s to %s (minimum class size).' % (nfolds, fmin))
- /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).
- warn('milk.measures.nfoldcrossvalidation: Reducing the nr. of folds from %s to %s (minimum class size).' % (nfolds, fmin))
- ....................................../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.
- warnings.warn('milk.featureselection: No features selected! Using all features as fall-back.')
- ./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).
- warn('milk.measures.nfoldcrossvalidation: Reducing the nr. of folds from %s to %s (minimum class size).' % (nfolds, fmin))
- ............F....................
- ======================================================================
- FAIL: milk.tests.test_svm.test_platt_correction_class
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
- self.test(*self.arg)
- 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
- assert model.B == B
- AssertionError
- ----------------------------------------------------------------------
- Ran 132 tests in 54.648s
- FAILED (failures=1)
- In [3]:
Advertisement
Add Comment
Please, Sign In to add comment