Skip to content

Commit

Permalink
EXA Minor fixes in plot_sparse_logistic_regression_20newsgroups.py (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
lesteve authored and jnothman committed Dec 19, 2019
1 parent 556eb92 commit a4db101
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit a4db101

Please sign in to comment.