I\'m training a python (2.7.11) classifier for text classification and while running I\'m getting a deprecated warning message that I don\'t know which line in my code is causin
It's:
pred = clf.predict(vec);
I used this in my code and it worked:
#This makes it into a 2d array temp = [2 ,70 ,90 ,1] #an instance temp = np.array(temp).reshape((1, -1)) print(model.predict(temp))