Skip to content

ENH Test Array API compatibility for paired_cosine_distances #29112

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

Merged
merged 4 commits into from
Jun 7, 2024

Conversation

EdAbati
Copy link
Contributor

@EdAbati EdAbati commented May 26, 2024

Reference Issues/PRs

Towards #26024

What does this implement/fix? Explain your changes.

paired_cosine_distances seems already compatible with the Array API. I am just adding the test

Copy link

github-actions bot commented May 26, 2024

✔️ Linting Passed

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

Generated for commit: 0a73cc3. Link to the linter CI: here

@EdAbati
Copy link
Contributor Author

EdAbati commented May 27, 2024

Tested on my side with mps and with CUDA and it looks green ✅

@EdAbati EdAbati marked this pull request as ready for review May 27, 2024 06:37
@EdAbati
Copy link
Contributor Author

EdAbati commented May 30, 2024

FYI @OmarManzoor @ogrisel :)

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. Thanks @EdAbati

Copy link
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

LGTM as well.

@ogrisel ogrisel enabled auto-merge (squash) June 7, 2024 10:20
@ogrisel ogrisel merged commit 5bc86b8 into scikit-learn:main Jun 7, 2024
28 checks passed
@EdAbati EdAbati deleted the paired-cosine-dist-array-api branch June 7, 2024 16:32
@jeremiedbb jeremiedbb mentioned this pull request Jul 2, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants