changeset 563:39de5c532559

place holder functions
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Sat, 19 Jul 2014 23:44:39 -0400
parents 259ccb3dd962
children 36605d843be5
files python/ml.py
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/python/ml.py	Wed Jul 16 02:12:34 2014 -0400
+++ b/python/ml.py	Sat Jul 19 23:44:39 2014 -0400
@@ -107,3 +107,14 @@
 	centroids,distortion = kmeans(features,k, iter)
 	code,distance = vq(features,centroids) # code starting from 0 (represent first cluster) to k-1 (last cluster)
 	return code,sigma	
+
+def motionPatterLearning(objects, maxDistance):
+    ''' 
+    Option to use only the (n?) longest features per object instead of all for speed up
+    TODO'''
+    pass
+
+def prototypeCluster():
+    ''' 
+    TODO'''
+    pass