EXA Minor fixes in plot_sparse_logistic_regression_20newsgroups.py
"""
-=====================================================
-Multiclass sparse logisitic regression on newgroups20
-=====================================================
+====================================================
+Multiclass sparse logistic regression on 20newgroups
+====================================================
Comparison of multinomial logistic L1 vs one-versus-rest L1 logistic regression
to classify documents from the newgroups20 dataset. Multinomial logistic
@@ -42,7 +42,6 @@ solver = 'saga'
# Turn down for faster run time
n_samples = 10000
-# Memorized fetch_rcv1 for faster access
X, y = fetch_20newsgroups_vectorized('all', return_X_y=True)
X = X[:n_samples]
y = y[:n_samples]
