Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue #13383: plot_image_denoising.py #13683

Merged
merged 3 commits into from
Apr 23, 2019

Conversation

xinyuliu12
Copy link
Contributor

@xinyuliu12 xinyuliu12 commented Apr 20, 2019

Reference Issues/PRs

I tried to address issue #13383

What does this implement/fix? Explain your changes.

improving the performance of example: plot_image_denoising.py. I downsize the running time from 1.1e+02 seconds (from https://circleci.com/gh/scikit-learn/scikit-learn/50704) to 63 seconds (from https://circleci.com/gh/scikit-learn/scikit-learn/55498).
I tried to fix this by further downsampling the input pictures.

Any other comments?

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

LGTM otherwise

@@ -31,9 +31,10 @@
necessarily related to visualisation.

"""
from time import time

Copy link
Member

Choose a reason for hiding this comment

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

please remove this and the import

Copy link
Member

Choose a reason for hiding this comment

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

sorry, import shouldn't be removed, but please leave it where it was to avoid unnecessary changes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, I will do it.

Copy link
Member

@agramfort agramfort left a comment

Choose a reason for hiding this comment

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

@glemaitre glemaitre merged commit 933f80a into scikit-learn:master Apr 23, 2019
@glemaitre
Copy link
Member

@xinyuliu12 Thanks for the contribution!!!

jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Apr 25, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 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.

None yet

4 participants