Python Svmlight Error: DeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
I also met this problem when I assigned numbers to a matrix.
like this:
Qmatrix[list2[0], list2[j]] = 1
the component may be a non-integer number, so I changed to this:
Qmatrix[int(list2[0]), int(list2[j])] = 1
and the warning removed
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