From e28390de61b23882f6e1069d565a2137825c2662 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 29 Apr 2015 18:36:16 -0400 Subject: Performance improvement --- model.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'model.py') diff --git a/model.py b/model.py index c89809f..6a8be9d 100644 --- 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 ''' -- cgit v1.2.3