Mercurial Hosting > traffic-intelligence
diff python/indicators.py @ 631:2d1d33ae1c69
major work on pPET and pet, issues remain for pPET computed with predicted trajectories
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 17 Feb 2015 03:55:55 +0100 |
parents | eb8baa080470 |
children | 3058e00887bc |
line wrap: on
line diff
--- a/python/indicators.py Tue Feb 17 02:21:31 2015 +0100 +++ b/python/indicators.py Tue Feb 17 03:55:55 2015 +0100 @@ -141,7 +141,7 @@ TemporalIndicator.__init__(self, name, values, timeInterval, maxValue) self.mostSevereIsMax = mostSevereIsMax - def getMostSevereValue(self, minNInstants=1): # TODO use scoreatpercentile + def getMostSevereValue(self, minNInstants=1): # TODO use np.percentile from matplotlib.mlab import find from numpy.core.multiarray import array from numpy.core.fromnumeric import mean