Skip to content

UserWarnings in the documentation #29055

Closed

Activity

  1. ojoaomorais commented on May 20, 2024

    @ojoaomorais
    Contributor

    I'm working on plot_cv_indices.html !

  2. added and removed
    Needs Triage
    on May 20, 2024
  3. ojoaomorais commented on May 20, 2024

    @ojoaomorais
    Contributor

    Hello @ArturoAmorQ, my local build is showing different UserWarnings or, in some cases, showing nothing. Maybe it's the matplotlib package version? I changed from 3.9 to 3.3.4 (as seen here), but nothing changes. This is the command i use to build:

    pip install --editable . \ --verbose --no-build-isolation \ --config-settings editable-verbose=true

    My version:

    Python dependencies:
    sklearn: 1.6.dev0
    pip: 24.0
    setuptools: 69.5.1
    numpy: 1.26.4
    scipy: 1.13.0
    Cython: 3.0.10
    pandas: 2.2.2
    matplotlib: 3.3.4
    joblib: 1.4.2
    threadpoolctl: 3.5.0
    Built with OpenMP: True
    threadpoolctl info:
    user_api: blas
    internal_api: openblas
    num_threads: 2
    prefix: libopenblas
    filepath: /opt/anaconda3/envs/scikit-learn/lib/libopenblasp-r0.3.27.dylib
    version: 0.3.27
    threading_layer: openmp
    architecture: Sandybridge
    user_api: openmp
    internal_api: openmp
    num_threads: 4
    prefix: libomp
    filepath: /opt/anaconda3/envs/scikit-learn/lib/libomp.dylib
    version: None

  4. Charlie-XIAO commented on May 21, 2024

    @Charlie-XIAO
    Contributor

    The matplolib version used in CI is 3.8.4 (not minimum, see this search link), though I don't think it's related.

  5. lucyleeow commented on May 22, 2024

    @lucyleeow
    Member

    Note that it is possible to ignore warnings for all examples by adding to the doc/conf.py file. If we have a recurring warning, this may be nice and keeps our examples cleaner. Indeed we already ignore a warning:

    warnings.filterwarnings(

  6. added
    Meta-issue
    on May 23, 2024
  7. ojoaomorais commented on May 23, 2024

    @ojoaomorais
    Contributor

    I'm working on tree/plot_iris_dtc.html !!

  8. ojoaomorais commented on May 24, 2024

    @ojoaomorais
    Contributor

    Hello @ArturoAmorQ, my local build is showing different UserWarnings or, in some cases, showing nothing. Maybe it's the matplotlib package version? I changed from 3.9 to 3.3.4 (as seen here), but nothing changes. This is the command i use to build:

    pip install --editable . \ --verbose --no-build-isolation \ --config-settings editable-verbose=true

    My version:

    Python dependencies: sklearn: 1.6.dev0 pip: 24.0 setuptools: 69.5.1 numpy: 1.26.4 scipy: 1.13.0 Cython: 3.0.10 pandas: 2.2.2 matplotlib: 3.3.4 joblib: 1.4.2 threadpoolctl: 3.5.0 Built with OpenMP: True threadpoolctl info: user_api: blas internal_api: openblas num_threads: 2 prefix: libopenblas filepath: /opt/anaconda3/envs/scikit-learn/lib/libopenblasp-r0.3.27.dylib version: 0.3.27 threading_layer: openmp architecture: Sandybridge user_api: openmp internal_api: openmp num_threads: 4 prefix: libomp filepath: /opt/anaconda3/envs/scikit-learn/lib/libomp.dylib version: None

    FYI, it was missing the jupyterlite_sphinx lib. After install it i can see the warnings.

  9. ojoaomorais commented on May 27, 2024

    @ojoaomorais
    Contributor

    Working on plot_sgd_iris and plot_logistic_multinomial !

  10. added
    good first issue
    on Jun 4, 2024
  11. aflanders7 commented on Jun 5, 2024

    @aflanders7
    Contributor

    Working on svm/plot_svm_margin.html

  12. aflanders7 commented on Jun 5, 2024

    @aflanders7
    Contributor

    Working on plot_adaboost_twoclass.html

  13. ovenpickled commented on Jun 14, 2024

    @ovenpickled
    Contributor

    working on plot_gpr_prior_posterior.html

  14. ovenpickled commented on Jul 1, 2024

    @ovenpickled
    Contributor

    working on plot_gpr_prior_posterior.html again

  15. ArturoAmorQ commented on Jul 9, 2024

    @ArturoAmorQ
    MemberAuthor

    Thanks to everyone who contributed on this issue 🎉

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

    DocumentationMeta-issuegood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions