comparison baseline/mlp/mlp_nist.py @ 349:22efb4968054

added pnist support, will check in code for data set iterator later
author xaviermuller
date Mon, 19 Apr 2010 10:12:17 -0400
parents fca22114bb23
children 76b7182dd32e
comparison
equal deleted inserted replaced
348:45156cbf6722 349:22efb4968054
266 266
267 if data_set==0: 267 if data_set==0:
268 dataset=datasets.nist_all() 268 dataset=datasets.nist_all()
269 elif data_set==1: 269 elif data_set==1:
270 dataset=datasets.nist_P07() 270 dataset=datasets.nist_P07()
271 elif data_set==2:
272 dataset=datasets.PNIST07()
271 273
272 274
273 275
274 276
275 ishape = (32,32) # this is the size of NIST images 277 ishape = (32,32) # this is the size of NIST images