Skip to content

Conversation

@pkadambi
Copy link

No description provided.

for i in points:
dist_nearest=1e9
for j in points:
dist = euclidean_distance(i, j)
Copy link
Contributor

Choose a reason for hiding this comment

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

What if euclidean_distance were an expensive call. Would you keep it here?

@jlaura
Copy link
Contributor

jlaura commented Mar 1, 2016

👍

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.

2 participants