I am trying to get started with scikit-learn and I am following the
tutorial here:
I am running on Ubuntu 11.10 Linux 3.0.0-14-generic x86_64 I have installed
all the necessary packages listed in the tutorial and here is the output
when running nosetests sklearn:
blake@blake-M4600:~/workspace/scikit-learn-tutorial$ nosetests sklearn
/usr/local/lib/python2.7/dist-packages/sklearn/hmm.py:24: UserWarning:
sklearn.hmm is orphaned, undocumented and has known numerical stability
issues. If nobody volunteers to write documentation and make it more
stable, this module will be removed in version 0.11.
warnings.warn('sklearn.hmm is orphaned, undocumented and has known
numerical'
.........../usr/local/lib/python2.7/dist-packages/sklearn/neighbors/base.py:23:
UserWarning: kneighbors: neighbor k+1 and neighbor k have the same
distance: results will be dependent on data order.
warnings.warn(msg)
.................................S........SS................................/usr/local/lib/python2.7/dist-packages/sklearn/decomposition/dict_learning.py:262:
UserWarning: Please note: the interface of sparse_encode has changed: It
now follows the dictionary learning API and it also handles
parallelization. Please read the docstring for more information.
warnings.warn("Please note: the interface of sparse_encode has changed: "
.........S........................./usr/local/lib/python2.7/dist-packages/sklearn/decomposition/nmf.py:237:
UserWarning: Iteration limit reached in nls subproblem.
warnings.warn("Iteration limit reached in nls subproblem.")
.................../usr/local/lib/python2.7/dist-packages/sklearn/decomposition/sparse_pca.py:147:
RuntimeWarning: invalid value encountered in divide
U /= np.sqrt((U ** 2).sum(axis=0))
.....S...../usr/local/lib/python2.7/dist-packages/sklearn/ensemble/forest.py:309:
RuntimeWarning: divide by zero encountered in log
return np.log(self.predict_proba(X))
...................../usr/local/lib/python2.7/dist-packages/sklearn/externals/joblib/test/test_func_inspect.py:111:
UserWarning: Cannot inspect object <functools.partial object at 0x3283cb0>,
ignore list will not work.
nose.tools.assert_equal(filter_args(ff, ['y'], 1),
.........................................................................................................................................................................................................................................................Exception
AttributeError: AttributeError("'NoneType' object has no attribute
'tell'",) in <bound method memmap.__del__ of memmap(2.5598363e-316)> ignored
Exception AttributeError: AttributeError("'NoneType' object has no
attribute 'tell'",) in <bound method memmap.__del__ of
memmap(2.63294776e-316)> ignored
Exception AttributeError: AttributeError("'NoneType' object has no
attribute 'tell'",) in <bound method memmap.__del__ of
memmap(2.63294776e-316)> ignored
/usr/local/lib/python2.7/dist-packages/sklearn/externals/joblib/test/test_numpy_pickle.py:179:
Warning: file "/tmp/tmpVmt3BI/test.pkl410" appears to be a zip, ignoring
mmap_mode "r" flag passed
numpy_pickle.load(this_filename, mmap_mode='r')
Exception AttributeError: AttributeError("'NoneType' object has no
attribute 'tell'",) in <bound method memmap.__del__ of
memmap(2.5669003e-316)> ignored
...................................................................................S........................................F..............................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: Ridge regression convergence test using score
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/nose/case.py", line 187, in runTest
self.test(*self.arg)
File
"/usr/local/lib/python2.7/dist-packages/sklearn/linear_model/tests/test_ridge.py",
line 55, in test_ridge
assert ridge.score(X, y) > 0.5
AssertionError
----------------------------------------------------------------------
Ran 897 tests in 38.093s
FAILED (SKIP=6, failures=1)
What am I doing wrong?
Thanks for any help!
-Blake
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general