Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
numpy
as
np
2
# from scipy.spatial import distance
3
from
sklearn
import
datasets
4
from
sklearn.model_selection
import
train_test_split
Callers
nothing calls this directly
Calls
2
fit
Method · 0.80
predict
Method · 0.80
Tested by
no test coverage detected