Emotions can influence cognitive development and are key elements to the teaching-learning process. Positive emotions (e.g., engagement) can improve the ability to solve problems, store information, and make decisions. On the other hand, negative emotions (e.g., boredom) reduce the capacity to process information at a deeper level, preventing learning to become effective. Therefore, students’ emotions must be regulated to hinder negative and to promote positive emotions during learning. To support the choice of the best intervention to regulate individual emotions, this article proposes an algorithm based on simulated data considering different individual performances in solving Algebra exercises. The results suggest that the proposed model has high success rates (over 90%) in the choice of interventions and may be applied in real scenarios.