Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@zubairshakoorarbisoft
Copy link
Contributor

Reference Issues/PRs:
Towards: #26024

What does this implement/fix? Explain your changes:
Add array API support for sklearn.metrics.laplacian_kernel

@github-actions
Copy link

github-actions bot commented Oct 30, 2025

✔️ Linting Passed

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

Generated for commit: d0a7127. Link to the linter CI: here

@OmarManzoor OmarManzoor changed the title Added array api support for laplacian_kernel FEA Add array API support for laplacian_kernel Oct 30, 2025
@OmarManzoor OmarManzoor marked this pull request as ready for review October 30, 2025 17:04
@github-actions github-actions bot removed the CUDA CI label Oct 30, 2025
Copy link
Contributor

@OmarManzoor OmarManzoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you @zubairshakoorarbisoft

Within the array_api.rst metrics list we can remove the additional comment in brackets from sklearn.metrics.pairwise.pairwise_kernels as that is not applicable anymore.

  • :func:sklearn.metrics.pairwise.pairwise_kernels (supports all sklearn.pairwise.PAIRWISE_KERNEL_FUNCTIONS except :func:sklearn.metrics.pairwise.laplacian_kernel)

Copy link
Member

@lucyleeow lucyleeow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just @OmarManzoor's comment to fix.

@OmarManzoor OmarManzoor merged commit e40c216 into scikit-learn:main Oct 31, 2025
38 checks passed
rouk1 pushed a commit to rouk1/scikit-learn that referenced this pull request Nov 3, 2025
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.

3 participants