Skip to content

Instantly share code, notes, and snippets.

@rpalo
Created August 21, 2019 13:05
Show Gist options
  • Save rpalo/3a60f5cdc0cefa2dcdd24fcf8e8dd8c1 to your computer and use it in GitHub Desktop.
Save rpalo/3a60f5cdc0cefa2dcdd24fcf8e8dd8c1 to your computer and use it in GitHub Desktop.
distance = np.sqrt(np.sum((testing - training)**2, axis=1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment