Skip to content

Simplify some time-comsuming examples #13383

Closed

Description

@qinhanmin2014

Some examples are time consuming. I think we should try to simplify them to make these examples more friendly to users and CI.
Examples > 60s (from https://circleci.com/gh/scikit-learn/scikit-learn/50704):

  • plot_coin_segmentation.py: 4.6e+02 sec
  • plot_iterative_imputer_variants_comparison.py: 1.9e+02 sec
  • plot_rbm_logistic_classification.py: 1.5e+02 sec
  • plot_pca_vs_fa_model_selection.py: 1.2e+02 sec
  • plot_image_denoising.py: 1.1e+02 sec
  • plot_digits_pipe.py: 80 sec
  • plot_compare_reduction.py: 69 sec

See #13379 #12929

Activity

  1. added
    Easy
    good first issue
    on Mar 12, 2019
  2. vcGomez commented on Mar 16, 2019

    @vcGomez

    Hi! Could I give a try on this? That would be my first issue.

  3. qinhanmin2014 commented on Mar 16, 2019

    @qinhanmin2014
    MemberAuthor

    Hi! Could I give a try on this? That would be my first issue.

    Welcome to contribute :)

  4. vcGomez commented on Mar 16, 2019

    @vcGomez

    Thanks! :)

  5. jnothman commented on Apr 15, 2019

    @jnothman
    Member

    @vbarroso, under ./build_tools/circle/build_doc.sh, download the full output as a file, and search for "computation time summary"

  6. Framartin commented on Apr 15, 2019

    @Framartin
    Contributor

    I started to take a look at the examples/neural_networks/plot_rbm_logistic_classification.py example and I might start working on other mentioned ones. See #13648

  7. added a commit that references this issue on Apr 20, 2019
  8. anestisdotpy commented on May 17, 2019

    @anestisdotpy

    Hello. Could I work on this? I have never contributed to open source before so I am a newbie.
    Thanks in advance!

  9. thomasjpfan commented on May 17, 2019

    @thomasjpfan
    Member

    Hello. Could I work on this? I have never contributed to open source before so I am a newbie. ...

    @anestisdotpy You are welcome to contribute! :)

  10. anestisdotpy commented on May 17, 2019

    @anestisdotpy

    @anestisdotpy You are welcome to contribute! :)

    Thank you very much!

  11. sadepu1915 commented on Jul 1, 2019

    @sadepu1915

    @qinhanmin2014 do we have room to contribute on this ?

  12. qinhanmin2014 commented on Jul 1, 2019

    @qinhanmin2014
    MemberAuthor

    @qinhanmin2014 do we have room to contribute on this ?

    try to pick an example which do not have a PR.

  13. abhishek-jana commented on Jul 12, 2019

    @abhishek-jana
    Contributor

    @qinhanmin2014 I'm new to open source contribution. Can I contribute to this?

  14. rth commented on Jul 12, 2019

    @rth
    Member

    @abhishek-jana Yes, definitely. Thanks!

  15. amueller commented on Jul 12, 2019

    @amueller
    Member

    @abhishek-jana sure, just pick on of the examples (say here which) and start working on it.

  16. abhishek-jana commented on Jul 13, 2019

    @abhishek-jana
    Contributor

    Thanks.

  17. abhishek-jana commented on Jul 13, 2019

    @abhishek-jana
    Contributor

    @abhishek-jana sure, just pick on of the examples (say here which) and start working on it.

    I'll be looking into plot_compare_reduction.py thanks.

  18. Timsaur commented on Jul 13, 2019

    @Timsaur
    Contributor

    working on plot_digits_pipe.py

  19. qinhanmin2014 commented on Jul 14, 2019

    @qinhanmin2014
    MemberAuthor

    I'm going to close this, according to the latest log https://circleci.com/gh/scikit-learn/scikit-learn/64630, no example takes more than 60s, only two examples take more than 30s (plot_face_recognition.py and plot_sgd_early_stopping.py), which seems acceptable.
    Thanks everyone here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Easygood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions