Identification of key factors for early detection of rheumatoid arthritis in primary care using machine learning
摘要
Rheumatoid arthritis (RA) is a chronic disease that causes irreversible joint damage. Early detection, especially in primary care settings, is crucial for effective disease management. This study aimed to identify the factors that help screen individuals at risk of RA to reduce delays in referral to rheumatologists. This analytical and applied research used a questionnaire to gather data from 377 patients at a rheumatology diagnostic center in Ahvaz, Iran, between August and November 2024. Study variables included patients’ articular and extra-articular symptoms at disease onset, demographic data, and initial laboratory markers. After performing statistical correlation analysis, the dataset was split into training (80%) and testing (20%) subsets. Five machine learning models were developed, and the SHAP method was applied to the best-performing model to identify influential features. The results were obtained via 5-fold nested cross-validation, which identified the CatBoost model as the top performer, with AUC-ROC = 0.966, Accuracy = 0.947, and F1-Score = 0.951. SHAP (with a threshold of 0.01) highlighted the following significant features: Anti-CCP, tender joint count, swollen joint count, gastrointestinal issues, fatigue, age, RF (Rheumatoid Factor), and hearing problems. Due to the importance of early RA diagnosis and the challenges encountered in primary care, three main screening factors stand out: Anti-CCP, tender joint count, and swollen joint count. These, along with fatigue, age, and positive RF, markedly increase the likelihood of RA and justify referring a patient to a specialist.