Merge pull request #2794 from cli248/master

fix numpy deprecationWarning('using a non-integer number ...') in svm