svm fit numpy array indexing deprecation warning fix.
Merge pull request #2791 from adrinjalali/master

svm fit numpy array indexing deprecation warning fix.