# HG changeset patch # User Xavier Glorot # Date 1244734644 14400 # Node ID 41761210d16e7d3d374209a3644c8fb038d8090a # Parent a25d2229a0912c07af3177dfb2b665b573a3f09f fix a bug for the weight decay diff -r a25d2229a091 -r 41761210d16e pylearn/algorithms/sandbox/DAA_inputs_groups.py --- a/pylearn/algorithms/sandbox/DAA_inputs_groups.py Wed Jun 10 13:45:52 2009 -0400 +++ b/pylearn/algorithms/sandbox/DAA_inputs_groups.py Thu Jun 11 11:37:24 2009 -0400 @@ -263,7 +263,7 @@ container.reconstruction_cost = self.reconstruction_costs(container.rec) # TOTAL COST if self.regularize: #if stacked don't merge regularization and cost here but in the stackeddaaig module - container.cost = container.cost + self.regularization + container.cost = container.reconstruction_cost + self.regularization else: container.cost = container.reconstruction_cost