AI tool has potential to predict future heart attacks