Why we should train workers like we train machine learning algorithms