Mercurial > pylearn
changeset 709:55f77c7c3075
Renamed Alloc into alloc
author | Olivier Delalleau <delallea@iro> |
---|---|
date | Fri, 22 May 2009 10:04:04 -0400 |
parents | 53a247cfee84 |
children | 0c73cf7d3748 |
files | pylearn/algorithms/sandbox/DAA_inputs_groups.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pylearn/algorithms/sandbox/DAA_inputs_groups.py Fri May 22 10:03:29 2009 -0400 +++ b/pylearn/algorithms/sandbox/DAA_inputs_groups.py Fri May 22 10:04:04 2009 -0400 @@ -250,7 +250,7 @@ return self.reconstruction_cost_function(T.join(1,self.input,scaninputs(self.idx_list,self.auxinput)), rec) def _instance_initialize(self, obj, lr = 1 , reg_coef = 0, noise_level = 0 , noise_level_group = 0, - seed=1, Alloc=True, **init): + seed=1, alloc=True, **init): super(DAAig, self)._instance_initialize(obj, **init) obj.reg_coef = reg_coef @@ -277,7 +277,7 @@ self.hif = 1/numpy.sqrt(self.n_hid) - if Alloc: + if alloc: if not(self.input is None): wencshp = (self.in_size, self.n_hid) wdecshp = tuple(reversed(wencshp))