According to the feature importance ranking, older age; a higher NT-proBNP level, NYHA class, AST level, TBIL level; a lower DBP level, albumin level, cyscGFR and LVEF; combined with COPD; and not taking beta-blockers had a relatively large contribution to prediction of the risk of death in patients with CHF comorbid with AF. This evidence concerns the gene NPPB and atrial fibrillation.