A machine learning algorithm that triggered electronic reminders to health care providers increased the rate at which providers and patients spoke about end-of-life care preferences, according to randomized trial results.The algorithm — which predicts m…