Mercurial Hosting > traffic-intelligence
diff scripts/learn-poi.py @ 1028:cc5cb04b04b0
major update using the trafficintelligence package name and install through pip
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Fri, 15 Jun 2018 11:19:10 -0400 |
parents | 933670761a57 |
children |
line wrap: on
line diff
--- a/scripts/learn-poi.py Fri Jun 15 11:18:43 2018 -0400 +++ b/scripts/learn-poi.py Fri Jun 15 11:19:10 2018 -0400 @@ -6,7 +6,7 @@ from sklearn import mixture import matplotlib.pyplot as plt -import storage, ml +from trafficintelligence import storage, ml parser = argparse.ArgumentParser(description='The program learns and displays Gaussians fit to beginnings and ends of object trajectories (based on Mohamed Gomaa Mohamed 2015 PhD).') parser.add_argument('-d', dest = 'databaseFilename', help = 'name of the Sqlite database file', required = True)