diff scripts/learn-motion-patterns.py @ 980:23f98ebb113f

first tests for clustering algo
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 19 Feb 2018 16:32:59 -0500
parents cc89267b5ff9
children 933670761a57
line wrap: on
line diff
--- a/scripts/learn-motion-patterns.py	Mon Feb 19 10:47:19 2018 -0500
+++ b/scripts/learn-motion-patterns.py	Mon Feb 19 16:32:59 2018 -0500
@@ -76,8 +76,7 @@
 # the next line can be called again without reinitializing similarities
 if args.learn:
     prototypeIndices = ml.prototypeCluster(trajectories, similarities, args.minSimilarity, similarityFunc, args.optimizeCentroid, args.randomInitialization, initialPrototypeIndices)
-# assignment is done if explicitly passed as argument or if working on the same database (starting prototypes from scratch and assigning the )
-# (otherwise the matchings will not compare and one has to to matchings on a large scale at once)
+# assignment is done if explicitly passed as argument or if working on the same database (starting prototypes from scratch and assigning them)
 else:
     prototypeIndices = initialPrototypeIndices