Monitor error rate with iteration

get the dictionary to monitor error rate with different number of
iteration