Artificial intelligence tool may help predict heart attacks