I have the following code for simple classification, using sklearn linear_model SGDClassifier:
import numpy as np from sklearn import linear_model X = np.