Skip to content

Instantly share code, notes, and snippets.

View mayurmorin's full-sized avatar
🎯
Focusing

MAYUR PETHANI mayurmorin

🎯
Focusing
  • FEATHERLIGHT
View GitHub Profile
import scipy.spatial.distance as dist
import numpy as np
# Prepare 2 vectors (data points) of 10 dimensions
A = np.random.uniform(0, 10, 10)
B = np.random.uniform(0, 10, 10)
print '\n2 10-dimensional vectors'
print '------------------------'
print A