Individualised recovery trajectories of patients with impeded mobility, using distance between probability distributions of learnt graphs