Skip to content

Conversation

richardnorth3
Copy link

Description

Adds Python bindings for the cosine and correlation distance algorithms in scikit-learn-intelex, enabling users to compute cosine and correlation based pairwise distances with oneDAL.


PR completeness and readability

  • I have reviewed my changes thoroughly before submitting this pull request.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation to reflect the changes or created a separate PR with update and provided its number in the description, if necessary.
  • Git commit message contains an appropriate signed-off-by string (see CONTRIBUTING.md for details).
  • I have added a respective label(s) to PR if I have a permission for that.
  • I have resolved any merge conflicts that might occur with the base branch.

Testing

  • I have run it locally and tested the changes extensively.
  • All CI jobs are green or I have provided justification why they aren't.
  • I have extended testing suite if new functionality was introduced in this PR.

richard.north.iii added 2 commits August 8, 2025 15:27
@david-cortes-intel
Copy link
Contributor

I think this is supposed to first go through preview, like covariance currently is, but waiting for comments from @icfaust about whether there'd be any issue with putting it there.

@icfaust
Copy link
Contributor

icfaust commented Aug 11, 2025

I think this is supposed to first go through preview, like covariance currently is, but waiting for comments from @icfaust about whether there'd be any issue with putting it there.

You are absolutely right, though so far the PR does not include any sklearnex public interfaces to the added onedal pybind11 pairwise distances calculations.

@david-cortes-intel
Copy link
Contributor

I think this is supposed to first go through preview, like covariance currently is, but waiting for comments from @icfaust about whether there'd be any issue with putting it there.

You are absolutely right, though so far the PR does not include any sklearnex public interfaces to the added onedal pybind11 pairwise distances calculations.

But it does include them as a metric type for nearest neighbors.

@icfaust
Copy link
Contributor

icfaust commented Oct 7, 2025

@richardnorth3 what is the status of this development?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants