diff pylearn/datasets/MNIST.py @ 563:16f91ca016b1

* added NStages as a stopper (moved from hpu/conv) * added a argmax_standalone output to logistic_regression which is independent of the targets, which was needed to compute an output independently of the target * fixed some import discrepancies between pylearn and pylearn_refactor (mostly for datasets) * added testDataset which generates sequential or random data for a given shape
author desjagui@atchoum.iro.umontreal.ca
date Wed, 03 Dec 2008 17:21:05 -0500
parents b054271b2504
children ec27e19bb6eb
line wrap: on
line diff
--- a/pylearn/datasets/MNIST.py	Mon Dec 01 16:16:21 2008 -0500
+++ b/pylearn/datasets/MNIST.py	Wed Dec 03 17:21:05 2008 -0500
@@ -46,6 +46,7 @@
             y=all_targ[ntrain+nvalid:ntrain+nvalid+ntest])
 
     rval.n_classes = 10
+    rval.img_shape = (28,28)
     return rval