Hi Everybody,
I have some IR techniques implemented in Python, and I want to contribute
to sklearn. But I am having some trouble with sparse data:
https://github.com/dvro/scikit-learn/blob/instance_reduction/sklearn/instance_reduction/enn.py
Here is one of the techniques (I'll improve the style latter), and when
testing I get
=================================================
ERROR: sklearn.tests.test_common.test_estimators_sparse_data
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/dayvid/workspace/scikit-learn/sklearn/tests/test_common.py",
line 145, in test_estimators_sparse_data
raise exc
ValueError: data type not understood
What is the best way to handle this issue. I thought about raising an
exception, but I do not think that's the case.
Thanks,
--
Dayvid Victor R. de Oliveira
MSc Candidate in Computer Science at Federal University of Pernambuco (UFPE)
BSc in Computer Engineering - Federal University of Pernambuco (UFPE)
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general