Skip to content

fix issue #13383: plot_image_denoising.py#13683

Merged
glemaitre merged 3 commits intoscikit-learn:masterfrom
xinyuliu12:my-feature
Apr 23, 2019
Merged

fix issue #13383: plot_image_denoising.py#13683
glemaitre merged 3 commits intoscikit-learn:masterfrom
xinyuliu12:my-feature

Conversation

@xinyuliu12
Copy link
Copy Markdown
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
Copy Markdown
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


"""
from time import time

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.

please remove this and the import

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.

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

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

4 participants