diff --git a/examples/linear_model/plot_sparse_logistic_regression_20newsgroups.py b/examples/linear_model/plot_sparse_logistic_regression_20newsgroups.py index 78fdc64684550..7bfad99d991c5 100644 --- a/examples/linear_model/plot_sparse_logistic_regression_20newsgroups.py +++ b/examples/linear_model/plot_sparse_logistic_regression_20newsgroups.py @@ -1,7 +1,7 @@ """ -===================================================== -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 @@ # 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]