Skip to content

Remove deprecated sparse parameter from fowlkes_mallows_score - #33761

Merged
jeremiedbb merged 5 commits into
scikit-learn:mainfrom
AshutoshDevpura:fix/remove-deprecated-sparse-param-fowlkes-mallows
Apr 17, 2026
Merged

jeremiedbb merged 5 commits into
scikit-learn:mainfrom
AshutoshDevpura:fix/remove-deprecated-sparse-param-fowlkes-mallows

Conversation

@AshutoshDevpura

Copy link
Copy Markdown
Contributor

The sparse parameter in fowlkes_mallows_score was deprecated in v1.7
and scheduled for removal in v1.9. Now at v1.9.dev0, this PR removes it.

Changes:

  • Remove sparse parameter from function signature
  • Remove sparse from @validate_params decorator
  • Remove deprecated docstring section
  • Remove deprecation warning block
  • Remove test_fowlkes_mallows_sparse_deprecated test

@github-actions github-actions Bot added module:metrics CI:Linter failure The linter CI is failing on this PR labels Apr 15, 2026
@github-actions github-actions Bot removed the CI:Linter failure The linter CI is failing on this PR label Apr 15, 2026
@jeremiedbb

Copy link
Copy Markdown
Member

Thanks for the PR @AshutoshDevpura. Please remove the changelog entry, it was added for the 1.7 release.

@AshutoshDevpura

Copy link
Copy Markdown
Contributor Author

Removed the change log entry

@jeremiedbb jeremiedbb 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.

LGTM. Thanks

@jeremiedbb
jeremiedbb merged commit e3ce8d9 into scikit-learn:main Apr 17, 2026
37 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants