Harvard researchers developed an AI to determine how medical treatments affect life spans