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
2 solution: philosophy___make your data from 1D to 2D
Just add: []
[]
vec = [vec]
Reshape your data
import numpy as np vec = np.array(vec).reshape(1, -1)