comparison deep/stacked_dae/v_sylvain/nist_sda.py @ 235:ecb69e17950b

correction de bugs
author SylvainPL <sylvain.pannetier.lebeuf@umontreal.ca>
date Sun, 14 Mar 2010 20:25:12 -0400
parents c452e3a0a3b1
children 9fc641d7adda
comparison
equal deleted inserted replaced
234:c452e3a0a3b1 235:ecb69e17950b
118 118
119 optimizer = SdaSgdOptimizer(dataset=datasets.nist_all, hyperparameters=state, \ 119 optimizer = SdaSgdOptimizer(dataset=datasets.nist_all, hyperparameters=state, \
120 n_ins=n_ins, n_outs=n_outs,\ 120 n_ins=n_ins, n_outs=n_outs,\
121 series=series) 121 series=series)
122 122
123 optimizer.pretrain() 123 optimizer.pretrain(datasets.nist_all)
124 channel.save() 124 channel.save()
125 125
126 optimizer.finetune() 126 optimizer.finetune(datasets.nist_all)
127 channel.save() 127 channel.save()
128 128
129 return channel.COMPLETE 129 return channel.COMPLETE
130 130
131 # These Series objects are used to save various statistics 131 # These Series objects are used to save various statistics