Researchers use artificial intelligence to predict heart diseases and complications