MCPcopy 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

1try:
2 from sklearn.model_selection import train_test_split
3except ImportError:
4 from sklearn.cross_validation import train_test_split

Callers

nothing calls this directly

Calls 2

regressionFunction · 0.70
classificationFunction · 0.70

Tested by

no test coverage detected