Mercurial Hosting > traffic-intelligence
diff python/ml.py @ 563:39de5c532559
place holder functions
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Sat, 19 Jul 2014 23:44:39 -0400 |
parents | 21bdeb29f855 |
children | 3058e00887bc |
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