A new machine-learning algorithm which videos of echocardiograms is able to accurately predict patients who will die within a year.