Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clf = NearestNeighbors(n_neighbors=1)
- clf.fit(arr1, arr2)
- fit(self, X[, y]) Fit the model using X as training data
- neigh = NearestNeighbors(2, 0.4)
- neigh.fit(samples)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement