Skip to content
Snippets Groups Projects
Commit efbadabd authored by Elkhadri Doha's avatar Elkhadri Doha
Browse files

Upload New File

parent 6259fccb
Branches
No related tags found
No related merge requests found
from knn import *
import numpy as np
def distance_matrix_test():
train = np.random.rand(100, 1000)
test = np.random.rand(100, 1000)
dists = distance_matrix(train, test)
assert dists.shape == (100, 80)
distance_matrix_test()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment