Skip to content

Commit a6b3d24

Browse files
committed
BUG fix broken grid search example
1 parent 5e3230c commit a6b3d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/grid_search_text_feature_extraction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
# increase processing time in a combinatorial way
9898
'vect__max_df': (0.5, 0.75, 1.0),
9999
#'vect__max_features': (None, 5000, 10000, 50000),
100-
'vect__max_n': (1, 2), # words or bigrams
100+
'vect__ngram_range': ((1, 1), (1, 2)), # unigrams or bigrams
101101
#'tfidf__use_idf': (True, False),
102102
#'tfidf__norm': ('l1', 'l2'),
103103
'clf__alpha': (0.00001, 0.000001),

0 commit comments

Comments
 (0)