'AI may help predict why children struggle at school'