To train the model, the scientists let it study the medical records of each participant and then ask it to make minor predictions.