Solved by Mehran_Ziadloo in post #2 
              
              
                I spent some time on this and apparently, I should have done that in the first place. The problem is pretty simple. My metric formula is wrong! It should have been: 
acc = (1. - acc.sum() / acc.size()[0]) * 100.