# HG changeset patch # User Xavier Glorot # Date 1250179911 14400 # Node ID 928f12f9c6fee9e1d56a78f2b63cf6d91d44268f # Parent 6f6724dafcf7d564b2781ca59c8d84f72d8d7036 again bug fixes for rescalwsaturation DAA inputs groups diff -r 6f6724dafcf7 -r 928f12f9c6fe pylearn/algorithms/sandbox/DAA_inputs_groups.py --- a/pylearn/algorithms/sandbox/DAA_inputs_groups.py Thu Aug 13 11:42:53 2009 -0400 +++ b/pylearn/algorithms/sandbox/DAA_inputs_groups.py Thu Aug 13 12:11:51 2009 -0400 @@ -840,8 +840,8 @@ inst.daaig[i+1].benc = inst.daaig[i+1].benc/sat[i+1]*max(sat[:i+1]) sat[i+1] = max(sat[:i+1]) if sat[-1]>max(sat[:-1]): - inst.daaig[-1].w = inst.daaig[i+1].w/sat[-1]*max(sat[:-1]) - inst.daaig[-1].b = inst.daaig[i+1].b/sat[-1]*max(sat[:-1]) + inst.daaig[-1].w = inst.daaig[-1].w/sat[-1]*max(sat[:-1]) + inst.daaig[-1].b = inst.daaig[-1].b/sat[-1]*max(sat[:-1]) #-----------------------------------------------------------------------