[demo] minibatch is faster
authorSimon Chabot <simon.chabot@logilab.fr>
Thu, 08 Nov 2012 16:36:50 +0100
changeset 102 87300f4d6530
parent 101 7f66fe042cbd
child 103 d9be0462db20
[demo] minibatch is faster
demo.py
--- a/demo.py	Thu Nov 08 16:36:04 2012 +0100
+++ b/demo.py	Thu Nov 08 16:36:50 2012 +0100
@@ -93,7 +93,7 @@
 
     print "Finding neighbours"
     neighbours = findneighbours(alignset, targetset, indexes=(2, 2),
-                               mode='kmeans', threshold=0.1)
+                               mode='minibatch')
 
     # Let's define the treatements to apply on the location's name
     tr_name = { 'normalization': [lambda x: str(x),#Some names are casted to