Analysis of learning mistakes