unravel, shape
http://docs.scipy.org/doc/numpy/reference/generated/numpy.ravel.html
y = np.reshape(y,(len(y),1))
X = np.reshape(X,(len(X),1))
print(X_train.shape)
print(y_train.shape)
unravel, shape
http://docs.scipy.org/doc/numpy/reference/generated/numpy.ravel.html
y = np.reshape(y,(len(y),1))
X = np.reshape(X,(len(X),1))
print(X_train.shape)
print(y_train.shape)