8000 Merge pull request #6 from perimosocordiae/patch-1 · jnothman/scikit-learn@82bb6ca · GitHub
[go: up one dir, main page]

Skip to content

Commit 82bb6ca

Browse files
committed
Merge pull request #6 from perimosocordiae/patch-1
Fix merge conflict with scikit-learn/master
2 parents a414830 + 1c786ab commit 82bb6ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sklearn/neighbors/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,9 @@ class from an array representing our data set and ask who's
293293
squared=True)
294294
else:
295295
dist = pairwise_distances(X, self._fit_X,
296-
metric=self.effective_metric_,
296+
self.effective_metric_,
297297
**self.effective_metric_kwds_)
298+
298299
# XXX: should be implemented with a partial sort
299300
neigh_ind = dist.argsort(axis=1)
300301
neigh_ind = neigh_ind[:, :n_neighbors]

0 commit comments

Comments
 (0)
0