Detecting strengths and weaknesses in learning mathematics through a model classifying mathematical skills