MCPcopy Index your code
hub / github.com/devAmoghS/Machine-Learning-with-Python / knn_classify

Function knn_classify

k_nearest_neighbors/utils.py:30–41  ·  view source on GitHub ↗

each labeled point should be a pair (point, label)

(k, labeled_points, new_point)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

model.pyFile · 0.90
classify_and_plot_gridFunction · 0.85

Calls 2

distanceFunction · 0.90
majority_voteFunction · 0.85

Tested by

no test coverage detected