Skip to content

Commit

Permalink
DOC removed ambiguity in pipeline gridsearch example (#12272)
Browse files Browse the repository at this point in the history
* Removed ambiguity in pipeline gridsearch example

* Formatted to pep8
  • Loading branch information
sjtrny authored and jnothman committed Oct 15, 2018
1 parent 454004c commit fcf0c31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/compose/plot_compare_reduction.py
Expand Up @@ -43,7 +43,8 @@
print(__doc__)

pipe = Pipeline([
('reduce_dim', PCA()),
# the reduce_dim stage is populated by the param_grid
('reduce_dim', None),
('classify', LinearSVC())
])

Expand Down

0 comments on commit fcf0c31

Please sign in to comment.