Python - Classification Lasso sklearn - How to predict classes
<p>Following the example:
<a href="http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Lasso.html" rel="noreferrer">http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Lasso.html</a></p>

<pre><code>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])
</code></pre>

<p>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.</p>