Python Svmlight Error: DeprecationWarning: using a non-integer number instead of an integer will result in an error in the future

Brian Lin picture Brian Lin · Sep 25, 2013 · Viewed 34.4k times · Source

I'm running python 2.7.5 with scikit_learn-0.14 on my Mac OSX Mountain Lion.

Everything I run a svmlight command however, I get the following warning:

DeprecationWarning: using a non-integer number instead of an integer will result in an error >in the future

Answer

Jeong-Yoon Lee picture Jeong-Yoon Lee · Jan 20, 2014

As answered here, it's Numpy 1.8.0 deprecation warning caused by indexing with non-integer in scikit-learn. It won't affect the results.