# HG changeset patch # User Thierry Bertin-Mahieux # Date 1211406140 14400 # Node ID 9b57ea8c767f7030c455866573d7e02a3d6e9f3b # Parent bd728c83faffb1bfb9880ee6c76c8fed7c530195 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) diff -r bd728c83faff -r 9b57ea8c767f mlp_factory_approach.py --- 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):