Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. clf = NearestNeighbors(n_neighbors=1)
  2. clf.fit(arr1, arr2)
  3.  
  4. fit(self, X[, y]) Fit the model using X as training data
  5.  
  6. neigh = NearestNeighbors(2, 0.4)
  7. neigh.fit(samples)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement