Skip to content

DOC: Remove repeated/obselete examples under clustering. - #29937

Closed
saldanhad wants to merge 11 commits into
scikit-learn:mainfrom
saldanhad:cluster_doc
Closed

saldanhad wants to merge 11 commits into
scikit-learn:mainfrom
saldanhad:cluster_doc

Conversation

@saldanhad

@saldanhad saldanhad commented Sep 27, 2024 •

Copy link
Copy Markdown
Contributor

Reference Issues/PRs

Part of #27151

What does this implement/fix? Explain your changes.

Removed below examples:

@github-actions

github-actions Bot commented Sep 27, 2024 •

Copy link
Copy Markdown

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 4195a91. Link to the linter CI: here

@saldanhad
saldanhad marked this pull request as draft September 27, 2024 17:28
@saldanhad saldanhad closed this Sep 27, 2024
@saldanhad saldanhad reopened this Sep 27, 2024
@saldanhad
saldanhad marked this pull request as ready for review September 27, 2024 18:20
@saldanhad
saldanhad marked this pull request as draft September 28, 2024 11:47
@saldanhad
saldanhad marked this pull request as ready for review September 28, 2024 12:21
Comment thread doc/conf.py Resolved
@glemaitre
glemaitre self-requested a review October 17, 2024 20:43
Comment thread doc/conf.py
"auto_examples/exercises/plot_cv_digits.py": (
"auto_examples/model_selection/plot_nested_cross_validation_iris.py"
),
"auto_examples/cluster/plot_agglomerative_clustering.py": (

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.

I would not remove this example: one is discussing the linkage and its insight while the second discuss the effect of a metric that is a completely different topic.

Comment thread doc/conf.py
"auto_examples/cluster/plot_digits_agglomeration.py": (
"auto_examples/cluster/plot_feature_agglomeration_vs_univariate_selection.py"
),
"auto_examples/cluster/plot_cluster_iris.py": (

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.

This example is already removed in another PR.

Comment thread doc/conf.py
"auto_examples/cluster/plot_agglomerative_clustering.py": (
"auto_examples/cluster/plot_agglomerative_clustering_metrics.py"
),
"auto_examples/cluster/plot_digits_agglomeration.py": (

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.

This example is clearly missing some narrative but I'm not sure that I would like to remove it. The fact that this is run on digits is quite different from just a feature selection on tabular data.

To me this is a nice example because it bring complementary intuition that you can easily visualize. However it should be improved because it does not describe what we should actually visualize.

@glemaitre glemaitre left a comment

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.

In general, I don't think that we should be removing the proposed example after investigation.

@saldanhad

Copy link
Copy Markdown
Contributor Author

@glemaitre, Thank you for reviewing the PR, will close this as the examples are required.

@saldanhad saldanhad closed this Oct 18, 2024
@saldanhad
saldanhad deleted the cluster_doc branch October 18, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

3 participants