Skip to content

DOC Remove dtype specification in clustering metric docstrings - #33880

Merged
lorentzenchr merged 1 commit into
scikit-learn:mainfrom
lucyleeow:doc_clust
Apr 28, 2026
Merged

lorentzenchr merged 1 commit into
scikit-learn:mainfrom
lucyleeow:doc_clust

Conversation

@lucyleeow

Copy link
Copy Markdown
Member

Reference Issues/PRs

closes #32930

What does this implement/fix? Explain your changes.

Remove dtype specification for clustering metrics - int dtype is not enforced, it could be float, as long as it is not continuous type (e.g., 1.0, 2.0, 1.0). Also makes it consistent with other docstrings

AI usage disclosure

I used AI assistance for:

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Any other comments?

cc @StefanieSenger

@lucyleeow lucyleeow added the Quick Review For PRs that are quick to review label Apr 28, 2026
@lucyleeow lucyleeow changed the title Remove dtype specification in clustering metric docstrings DOC Remove dtype specification in clustering metric docstrings Apr 28, 2026
@lorentzenchr
lorentzenchr merged commit 9ce4875 into scikit-learn:main Apr 28, 2026
42 checks passed
@lucyleeow
lucyleeow deleted the doc_clust branch April 28, 2026 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation module:metrics Quick Review For PRs that are quick to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DOC Supervised clustering metrics specify array input dtype

2 participants