Mercurial > pylearn
diff doc/v2_planning/plugin_RP.py @ 1173:a0f178bc9052
changes during the meeting
author | pascanur |
---|---|
date | Fri, 17 Sep 2010 16:12:33 -0400 |
parents | 3c2d7c5f0cf7 |
children | fe6c25eb1e37 |
line wrap: on
line diff
--- a/doc/v2_planning/plugin_RP.py Fri Sep 17 12:02:14 2010 -0400 +++ b/doc/v2_planning/plugin_RP.py Fri Sep 17 16:12:33 2010 -0400 @@ -105,9 +105,12 @@ cPickle.dump(model.parameters(), open('best_params.pkl','wb')) -# Create the dependency graph describing what does what +# Create the dependency graph describing what does what +train_data.act( on = sched.begin(), when = once() ) +train_data.act( on = Event('batch'), +train_data.act( on = train_model.done(), when = always()) train_model.act(on = train_data.batch(), when = always()) -validate_model.act(on = train_model.done(), when = every(n=10000)) +validate_model.act(on = train_model.done(), when = every(n=10000)) early_stopper.act(on = validate_model.error(), when = always()) print_error.act( on = train_model.error(), when = always() ) print_error.act( on = train_data.eod(), when = always() )