# HG changeset patch # User Nicolas Saunier # Date 1405827879 14400 # Node ID 39de5c532559ace96c7d4ae13e007f24db5fcca8 # Parent 259ccb3dd9627f09a268ceeb705ede59512c42b4 place holder functions diff -r 259ccb3dd962 -r 39de5c532559 python/ml.py --- 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