8000 MAINT float 32bit support for `DistanceMetric` by jjerphan · Pull Request #22764 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

MAINT float 32bit support for DistanceMetric #22764

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 21 commits into from
May 30, 2022

Conversation

jjerphan
Copy link
Member
@jjerphan jjerphan commented Mar 11, 2022

Reference Issues/PRs

Extract of #22590.
Precedes #22590.

What does this implement/fix? Explain your changes.

This extends the set of the current DistanceMetric to introduce a set of DistanceMetric32 via Tempita to support pairs of 32bit vectors.

This also removes commented code of classes which were not distances.

This has been extracted from 7645ba.
@jjerphan jjerphan marked this pull request as ready for review March 30, 2022 15:57
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.

Some nitpicks but otherwise looks good to me!

jjerphan and others added 3 commits April 4, 2022 17:45
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
< 10000 div id="pullrequestreview-933690819" class="js-comment js-updatable-content js-socket-channel js-targetable-element js-minimize-container" data-gid="PRR_kwDOAAzd1s43pv3D" data-channel="eyJjIjoicHVsbF9yZXF1ZXN0X3Jldmlldzo5MzM2OTA4MTkiLCJ0IjoxNzQ3NTk4NzI2fQ==--ccd2e6e6443d66c7b23ad175fc17991431e19f1e558827f87684367f57d59232" data-url="/scikit-learn/scikit-learn/pull/22764/partials/reviews/933690819" >
@jjerphan jjerphan changed the title MAINT 32bit support for DistanceMetric MAINT float 32bit support for DistanceMetric Apr 13, 2022
@jjerphan jjerphan force-pushed the maint/distance-metrics-32bit branch from 771f3bb to 51ae02e Compare April 29, 2022 12:08
@glemaitre glemaitre self-requested a review April 29, 2022 15:37
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.

Still LGTM overall but some of my previous comments seems to have been ignored.

jjerphan and others added 4 commits April 29, 2022 20:03
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Copy link
Member
@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

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

Looks good. Just a few typos and a couple of comments. I also think that we should have a test that checks that the distance matrix computed from X32 and Y32 is close to the one computed from X64 and Y64.

jjerphan and others added 5 commits May 26, 2022 09:31
Also add a few changes.

Co-authored-by: Jérémie du Boisberranger <jeremiedbb@users.noreply.github.com>
Co-authored-by: Jérémie du Boisberranger <jeremiedbb@users.noreply.github.com>
Copy link
Member
@jeremiedbb jeremiedbb 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 @jjerphan !

@jeremiedbb jeremiedbb merged commit 48a0fe6 into scikit-learn:main May 30, 2022
@jjerphan jjerphan deleted the maint/distance-metrics-32bit branch May 30, 2022 15:19
ogrisel added a commit to ogrisel/scikit-learn that referenced this pull request Jul 11, 2022
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Jérémie du Boisberranger <jeremiedbb@users.noreply.github.com>
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
0