-
-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
Conversation
…econds to 40 seconds.
There was a problem hiding this 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 | |||
|
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is the old https://scikit-learn.org/stable/auto_examples/decomposition/plot_image_denoising.html
and the new example https://55498-843222-gh.circle-artifacts.com/0/doc/auto_examples/decomposition/plot_image_denoising.html
I don't see the difference visually
@xinyuliu12 Thanks for the contribution!!! |
…py (scikit-learn#13683)" This reverts commit ada04b3.
…py (scikit-learn#13683)" This reverts commit ada04b3.
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?