Mercurial > hg > nsaunier > traffic-intelligence
comparison samples/performances.txt @ 746:e7ff0f60fef8
merged new developments (indicator and trajectory clustering)
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Thu, 10 Sep 2015 15:52:45 -0400 |
| parents | a850a4f92735 |
| children |
comparison
equal
deleted
inserted
replaced
| 727:c6d4ea05a2d0 | 746:e7ff0f60fef8 |
|---|---|
| 1 python -m timeit 'from utils import LCSS; from numpy.random import random_sample; lcss = LCSS(metric = "cityblock", epsilon = 0.1); lcss.compute(random_sample((1000,2)), random_sample((2000, 2)))' | |
| 2 10 loops, best of 3: 1.6 sec per loop | |
| 3 | |
| 4 python -m timeit 'from utils import LCSS; from numpy.random import random_sample; lcss = LCSS(similarityFunc = lambda x,y: (abs(x[0]-y[0]) <= 0.1) and (abs(x[1]-y[1]) <= 0.1)); lcss.compute(random_sample((1000,2)), random_sample((2000, 2)))' | |
| 5 10 loops, best of 3: 3.48 sec per loop | |
| 6 ######## | |
| 1 Performance report using ../../Data/norway/2_video/20130606-0830.sqlite | 7 Performance report using ../../Data/norway/2_video/20130606-0830.sqlite |
| 2 #### | 8 #### |
| 3 test query positions | 9 test query positions |
| 4 #### | 10 #### |
| 5 no index | 11 no index |
