Using machine learning to predict student difficulties from learning session data