Mercurial > pylearn
changeset 212:9b57ea8c767f
previous commit was supposed to concern only one file, dataset.py, try to undo my other changes with this commit (nothing was broken though, just useless debugging prints)
author | Thierry Bertin-Mahieux <bertinmt@iro.umontreal.ca> |
---|---|
date | Wed, 21 May 2008 17:42:20 -0400 |
parents | bd728c83faff |
children | cc96f93a7810 |
files | mlp_factory_approach.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mlp_factory_approach.py Wed May 21 17:39:30 2008 -0400 +++ b/mlp_factory_approach.py Wed May 21 17:42:20 2008 -0400 @@ -33,7 +33,7 @@ #TODO: why should we have to unpack target like this? for input, target in input_target: rval= self.update_fn(input, target[:,0], *params) - print rval[0] + #print rval[0] def __call__(self, testset, fieldnames=['output_class']): """Apply this model (as a function) to new data""" @@ -123,7 +123,7 @@ rval.update( minset.minibatches([input, target], minibatch_size=min(32, len(trainset)))) - print 'mlp.__call__(), we did an update' + #print 'mlp.__call__(), we did an update' if stp.set_score: stp.score = rval(valset, ['loss_01']) if (stp.score < stp.best_score):