diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-04-29 18:36:16 -0400 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-04-29 18:36:16 -0400 |
commit | e28390de61b23882f6e1069d565a2137825c2662 (patch) | |
tree | 1e173130733201bcd41f7f64e84e9af150b59be7 /model.py | |
parent | fbcaf8643a68ef824c72b003c85c4a96e5362bb6 (diff) | |
download | taxi-e28390de61b23882f6e1069d565a2137825c2662.tar.gz taxi-e28390de61b23882f6e1069d565a2137825c2662.zip |
Performance improvement
Diffstat (limited to 'model.py')
-rw-r--r-- | model.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 ''' |