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

Add links to examples from the docstrings and user guides #26927

Open
adrinjalali opened this issue Jul 28, 2023 · 52 comments
Open

Add links to examples from the docstrings and user guides #26927

adrinjalali opened this issue Jul 28, 2023 · 52 comments
Labels
Documentation good first issue Easy with clear instructions to resolve Meta-issue General issue associated to an identified list of tasks Sprint

Comments

@adrinjalali
Copy link
Member

adrinjalali commented Jul 28, 2023

We have a rich set of examples covering a very broad range of issues, but they're not necessarily easily discoverable via the section on the bottom of the API pages.

This meta-issue is to keep track of the examples for which we've already included links in the docs, and to fix the rest.

An example of how to include links to examples in API docs and the user guide can be found here: #26926 . Please see how it can be done before claiming an example.

For each example, please check if it's already included in the docs, either user guides or API docs, and if not, claim it by leaving a comment at the bottom of this issue and open a pull request for it. You can open one PR for more than one example if they're very related.

Note that not all examples need to be included in this project. For instance, if an example is only a usage example, and putting a link to it doesn't add much for the users, then we can ignore it (please do leave a comment if this is your finding). Also, not all examples are in a good shape, and in your PR you can also improve the example itself.

How to create a link to an example?
To create a link to the example examples/developing_estimators/sklearn_is_fitted.py, you can write:

:ref:`sphx_glr_auto_examples_developing_estimators_sklearn_is_fitted.py`

which would automatically create the link. Notice the pattern where slashes (/) are converted to an underscore (_) and the sphx_glr_auto_ prefix.

IMPORTANT: Please limit your pull requests to a limited scope, single or two classes, or a single example so that it can be reviewed easily.

Here's a list of all examples:

@github-actions github-actions bot added the Needs Triage Issue requires triage label Jul 28, 2023
@adrinjalali adrinjalali added Documentation good first issue Easy with clear instructions to resolve Meta-issue General issue associated to an identified list of tasks and removed Needs Triage Issue requires triage labels Jul 28, 2023
@adrinjalali adrinjalali removed the good first issue Easy with clear instructions to resolve label Jul 28, 2023
@StefanieSenger
Copy link
Contributor

PR #26904 (DOC Add links to pipelines examples in docstrings) takes care of

examples/compose:

plot_column_transformer_mixed_types.py
plot_column_transformer.py
plot_compare_reduction.py
plot_digits_pipe.py
plot_feature_union.py
plot_transformed_target.py

@StefanieSenger
Copy link
Contributor

PR #26877 (DOC Add links to preprocessing examples in docstrings and userguide) takes care of

examples/preprocessing:

plot_all_scaling.py
plot_discretization_classification.py
plot_discretization.py
plot_discretization_strategies.py
plot_map_data_to_normal.py
plot_scaling_importance.py
plot_target_encoder_cross_val.py
plot_target_encoder.py

@mmhamdy
Copy link
Contributor

mmhamdy commented Jul 29, 2023

PR DOC Add links to decomposition examples in docstrings and user guide adds examples/decomposition:

  • plot_faces_decomposition.py
  • plot_ica_blind_source_separation.py
  • plot_ica_vs_pca.py
  • plot_image_denoising.py
  • plot_incremental_pca.py
  • plot_kernel_pca.py
  • plot_pca_3d.py
  • plot_pca_iris.py
  • plot_pca_vs_fa_model_selection.py
  • plot_pca_vs_lda.py
  • plot_sparse_coding.py
  • plot_varimax_fa.py

Other examples that are related to decomposition but found in different sections that were linked here:

examples/applications:

  • plot_digits_denoising.py
  • plot_topics_extraction_with_nmf_lda.py

examples/compose:

  • plot_compare_reduction.py

examples/release_highlights:

  • plot_release_highlights_1_1_0.py

@punndcoder28
Copy link
Contributor

punndcoder28 commented Jul 29, 2023

PR #26934 adds links for examples/cross_decomposition, PR #26935 adds links for examples/neural_networks

@Shreesha3112
Copy link
Contributor

Shreesha3112 commented Jul 30, 2023

Working on examples/feature_selection

PR: #26950

Class: feature_selection.RFE

Related Example files:

@adrinjalali
Copy link
Member Author

@Shreesha3112 please list files for which you're working on, and only focus on a single class for each PR.

@Shreesha3112
Copy link
Contributor

@adrinjalali Added Class and its related example files

@scaja
Copy link
Contributor

scaja commented Aug 1, 2023

I'm working on plot_cyclical_feature_engineering

@paularilo
Copy link

I am working on plot_classification_probability

@shirinJam
Copy link

I am working on plot_classifier_comparison.py

@eguenther
Copy link
Contributor

I'm working on plot_iris_dataset.py

@emma-carballal
Copy link
Contributor

Working on plot_classification.py

@tanjina-hub
Copy link
Contributor

working on plot_optics.py

@y-vectorfield
Copy link

Hello, @adrinjalali. Can I contribute to this issue?

@StefanieSenger
Copy link
Contributor

You are very welcome to contribute, @y-vectorfield.

@tuhinsharma121
Copy link
Contributor

working on examples/linear_model/plot_bayesian_ridge_curvefit.py

@julian-8897
Copy link

Hi @adrinjalali , I'm a first time contributor and would like to take up plot_calibration_curve.py under examples/calibration

@yuanx749
Copy link
Contributor

working on:

  • plot_agglomerative_dendrogram.py
  • plot_linkage_comparison.py

@tuhinsharma121
Copy link
Contributor

tuhinsharma121 commented Apr 25, 2024

working on examples/linear_model/plot_elastic_net_precomputed_gram_matrix_with_weighted_samples.py

@strivn
Copy link
Contributor

strivn commented Apr 30, 2024

Hi, can I try working on plot_digits_denoising.py?

@julian-8897
Copy link

Hi @adrinjalali , I'm a first time contributor and would like to take up plot_calibration_curve.py under examples/calibration

links to examples/plot_calibration_curve.py seemed to be already present in user guide

@julian-8897
Copy link

currently working on plot_agglomerative_clustering.py

@craetona
Copy link

craetona commented May 3, 2024

currently working on plot_regression.py

@J-Enblom
Copy link

J-Enblom commented May 9, 2024

Working on plot_nearest_centroid.py

@priyansh16
Copy link

working on plot_adaboost_regression.py

@Aswathavicky
Copy link
Contributor

I am working on plot_adaboost_twoclass.py

@AugustVesterbacka
Copy link

Working on wikipedia_principal_eigenvector.py

@ojoaomorais
Copy link
Contributor

I'm working on plot_face_recognition.py!

@shroffp05
Copy link

I am working on plot_gradient_boosting_regression.py!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation good first issue Easy with clear instructions to resolve Meta-issue General issue associated to an identified list of tasks Sprint
Projects
None yet
Development

No branches or pull requests