TY - JOUR T1 - Role for machine learning in sex-specific prediction of successful electrical cardioversion in atrial fibrillation? JF - Open Heart JO - Open Heart DO - 10.1136/openhrt-2020-001297 VL - 7 IS - 1 SP - e001297 AU - Nicklas Vinter AU - Anne Sofie Frederiksen AU - Andi Eie Albertsen AU - Gregory Y H Lip AU - Morten Fenger-Grøn AU - Ludovic Trinquart AU - Lars Frost AU - Dorthe Svenstrup Møller Y1 - 2020/06/01 UR - http://openheart.bmj.com/content/7/1/e001297.abstract N2 - Objective Electrical cardioversion is frequently performed to restore sinus rhythm in patients with persistent atrial fibrillation (AF). However, AF recurs in many patients and identifying the patients who benefit from electrical cardioversion is difficult. The objective was to develop sex-specific prediction models for successful electrical cardioversion and assess the potential of machine learning methods in comparison with traditional logistic regression.Methods In a retrospective cohort study, we examined several candidate predictors, including comorbidities, biochemistry, echocardiographic data, and medication. The outcome was successful cardioversion, defined as normal sinus rhythm immediately after the electrical cardioversion and no documented recurrence of AF within 3 months after. We used random forest and logistic regression models for sex-specific prediction.Results The cohort comprised 332 female and 790 male patients with persistent AF who underwent electrical cardioversion. Cardioversion was successful in 44.9% of the women and 49.9% of the men. The prediction errors of the models were high for both women (41.0% for machine learning and 48.8% for logistic regression) and men (46.0% for machine learning and 44.8% for logistic regression). Discrimination was modest for both machine learning (0.59 for women and 0.56 for men) and logistic regression models (0.60 for women and 0.59 for men), although the models were well calibrated.Conclusions Sex-specific machine learning and logistic regression models showed modest predictive performance for successful electrical cardioversion. Identifying patients who will benefit from cardioversion remains challenging in clinical practice. The high recurrence rate calls for thoroughly informed shared decision-making for electrical cardioversion. ER -