Artificial intelligence-based method predicts risk of atrial fibrillation