-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
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
MAINT float 32bit support for DistanceMetric
#22764
Conversation
This has been extracted from 7645ba.
There was a problem hiding this 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!
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
DistanceMetric
DistanceMetric
771f3bb
to
51ae02e
Compare
There was a problem hiding this 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.
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
There was a problem hiding this 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.
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>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @jjerphan !
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org> Co-authored-by: Jérémie du Boisberranger <jeremiedbb@users.noreply.github.com>
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 ofDistanceMetric32
via Tempita to support pairs of 32bit vectors.This also removes commented code of classes which were not distances.