Using AI to Analyse Behaviour and Personalise Plans