MCPcopy Index your code
hub / github.com/jwasham/practice-python / k-nearest-neighbors.py

File k-nearest-neighbors.py

machine-learning/k-nearest-neighbors.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import numpy as np
2# from scipy.spatial import distance
3from sklearn import datasets
4from sklearn.model_selection import train_test_split

Callers

nothing calls this directly

Calls 2

fitMethod · 0.80
predictMethod · 0.80

Tested by

no test coverage detected