Solved by ptrblck in post #2 
              
              
                It seems you are reinitializing store_MAE and store_MSE inside the logging loop? 
Could you move this code 
        store_MAE = 0
        store_MSE = 0

before executing the loop?