The re-education of offenders through predictive algorithms and behavioural studies