Skip to content

[MRG] fix convergence warning for plot_grid_search_refit_callable.py#14329

Closed
wendyhhu wants to merge 2 commits intoscikit-learn:masterfrom
wendyhhu:fix_warning
Closed

[MRG] fix convergence warning for plot_grid_search_refit_callable.py#14329
wendyhhu wants to merge 2 commits intoscikit-learn:masterfrom
wendyhhu:fix_warning

Conversation

@wendyhhu
Copy link
Copy Markdown
Contributor

Reference Issues/PRs

This work is built on top of #14143.

What does this implement/fix? Explain your changes.

Any other comments?

@NicolasHug
Copy link
Copy Markdown
Member

Failure on CI is unrelated to the changes


The figure shows the trade-off between cross-validated score and the number
of PCA components. The balanced case is when n_components=6 and accuracy=0.80,
of PCA components. The balanced case is when n_components=12 and accuracy=0.90,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the generated docs, https://64501-843222-gh.circle-artifacts.com/0/doc/auto_examples/model_selection/plot_grid_search_refit_callable.html it generates:

The best_index_ is 2
The n_components selected is 10
The corresponding accuracy score is 0.88

@NicolasHug
Copy link
Copy Markdown
Member

As discussed during the sprint, we ended up merging the original PR #14143 so we can close this one.

Thanks a lot for your work @wendyhhu , it was helpful for finishing #14143!

@NicolasHug NicolasHug closed this Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants