Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rushter/MLAlgorithms
/ nearest_neighbors.py
File
nearest_neighbors.py
examples/nearest_neighbors.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
try
:
2
from
sklearn.model_selection
import
train_test_split
3
except
ImportError:
4
from
sklearn.cross_validation
import
train_test_split
Callers
nothing calls this directly
Calls
2
regression
Function · 0.70
classification
Function · 0.70
Tested by
no test coverage detected