Following the example: http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Lasso.html
from sklearn import linear_model
clf = linear_model.Lasso(alpha=0.1)
clf.fit([[0,0], [1, 1], [2, 2]], [0, 1, 2])
clf.predict(np.array([0,0]).reshape(1,-1))
Out[13]: array([ 0.15])
Can I get the prediction to be a classification instead of a regression. In other words when I give it an input, I would like an output that is categorical.