Skip to content
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

Move to Manhattan distance for similarity distance calculations. #4873

Merged
merged 4 commits into from Feb 7, 2017

Conversation

tkaemming
Copy link
Contributor

No description provided.

@getsentry-bot
Copy link
Contributor

getsentry-bot commented Feb 7, 2017

1 Error
🚫 You need to update CHANGES due to the size of this PR
1 Warning
⚠️ Changes require @getsentry/security sign-off

Security concerns found

  • src/sentry/similarity.py

Generated by 🚫 danger

Copy link
Contributor

@JTCunning JTCunning left a comment

Choose a reason for hiding this comment

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

🦆

{'a': 0, 'b': 1},
) == 2

assert get_manhattan_distance(
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd add the test that we used in slack with 0.5s.

@tkaemming tkaemming merged commit bd3086f into master Feb 7, 2017
@tkaemming tkaemming deleted the manhattan-project branch February 7, 2017 01:07
@github-actions github-actions bot locked and limited conversation to collaborators Dec 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants