Record the learning process