Hi, I'm following a tutorial on scikit-learn and having trouble with one of the exercises. I'm trying to build a simple logistic regression model but keep getting a ValueError about the solver not supporting the l1 penalty and I'm not sure how to fix it. Any help would be appreciated. Thanks in advance!
from sklearn import datasets
from sklearn.linear_model import LogisticRegression
X, y = datasets.load_digits(return_X_y=True)
y = (y > 4).astype(int)
model = LogisticRegression(penalty="l1", tol=0.01)
model.fit(X, y)