commit e28390de61b23882f6e1069d565a2137825c2662
parent fbcaf8643a68ef824c72b003c85c4a96e5362bb6
Author: Alex Auvolat <alex.auvolat@ens.fr>
Date: Wed, 29 Apr 2015 18:36:16 -0400
Performance improvement
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/model.py b/model.py
@@ -150,7 +150,7 @@ def main():
every_n_batches=1000),
Printing(every_n_batches=1000),
# Checkpoint('model.pkl', every_n_batches=100),
- Dump('taxi_model', every_n_batches=100),
+ Dump('taxi_model', every_n_batches=1000),
LoadFromDump('taxi_model'),
]
@@ -160,6 +160,7 @@ def main():
algorithm=algorithm,
extensions=extensions)
main_loop.run()
+ main_loop.profile.report()
# Produce an output on the test data
'''