[aligner] Change the default value of k.
authorSimon Chabot <simon.chabot@logilab.fr>
Thu, 08 Nov 2012 16:36:04 +0100
changeset 101 7f66fe042cbd
parent 100 5c0462ab311d
child 102 87300f4d6530
[aligner] Change the default value of k. k=1 is a more current used value
aligner.py
--- a/aligner.py	Thu Nov 08 16:30:16 2012 +0100
+++ b/aligner.py	Thu Nov 08 16:36:04 2012 +0100
@@ -37,7 +37,7 @@
 
 
 def findneighbours(alignset, targetset, indexes = (1, 1), mode = 'kdtree',
-                   threshold = 0.1, k = 2, n_clusters = None):
+                   threshold = 0.1, k = 1, n_clusters = None):
 
     SEARCHERS = set(['kdtree', 'minhashing', 'kmeans', 'minibatch'])
     mode = mode.lower()