Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Public Health

Sec. Digital Public Health

This article is part of the Research TopicAdvancing Healthcare AI: Evaluating Accuracy and Future DirectionsView all 21 articles

Postoperative Recurrence Prediction Model for Perianal Abscess Using Machine Learning Algorithms

Provisionally accepted
Caixia  ZhangCaixia Zhang1Zhiran  LiZhiran Li2Dawei  WangDawei Wang1*Zheng  ZhengZheng Zheng3Ao  ChenAo Chen1Yuan  FangYuan Fang1Shaohua  HuangfuShaohua Huangfu1Chungen  ZhouChungen Zhou1Qizhi  LiuQizhi Liu1Bin  JiangBin Jiang1*
  • 1Nanjing Hospital of Chinese Medicine Affiliated to Nanjing University of Chinese Medicine, Nanjing, China
  • 2China Academy of Chinese Medical Sciences Guang'anmen Hospital, Beijing, China
  • 3Xuzhou Hospital of Traditional Chinese Medicine, Xuzhou, China

The final, formatted version of the article will be published soon.

Objective This study aimed to develop a machine learning–based model to predict recurrence risk after perianal abscess surgery, thereby supporting personalized follow-up and intervention strategies. Methods Clinical data were collected from patients with perianal abscess who underwent surgery at Nanjing Hospital of Chinese Medicine, Affiliated to Nanjing University of Chinese Medicine between January 2022 and June 2023. Significant predictors were identified using the least absolute shrinkage and selection operator (LASSO) algorithm combined with multivariate logistic regression. The Synthetic Minority Over-sampling Technique (SMOTE) was applied to balance class distribution, and several machine learning (ML) algorithms were employed for model construction. Model performance was evaluated by the area under the receiver operating characteristic curve (AUC), sensitivity, specificity, and accuracy. Model calibration was assessed using calibration curves. The effectiveness was evaluated through Decision Curve Analysis (DCA). Finally, the SHapley Additive exPlanations (SHAP) were used to interpret the best-performing model and quantify the contribution of each predictor to its predictions. Results A total of 737 patients with perianal abscess were included in the study. A history of diabetes, abscess space, and the aggregate index of systemic inflammation (AISI) were identified as the three strongest predictors of recurrence. Among all evaluated models, the CatBoost model showed the highest discriminatory power in the training set (AUC = 0.821, 95% CI: 0.777–0.864), validation set (AUC = 0.744, 95% CI: 0.616–0.872), and temporal validation set (AUC = 0.735, 95% CI: 0.649–0.821). Conclusion The machine learning–based model effectively identifies patients at high risk of recurrence after perianal abscess surgery. The CatBoost model achieved the best predictive performance, while SHAP analysis enhanced interpretability, supporting individualized patient management.

Keywords: Perianal abscess, Recurrence, machine learning, CatBoost, Shap

Received: 10 Oct 2025; Accepted: 24 Nov 2025.

Copyright: © 2025 Zhang, Li, Wang, Zheng, Chen, Fang, Huangfu, Zhou, Liu and Jiang. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence:
Dawei Wang
Bin Jiang

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.