Mode
Text Size
Log in / Sign up

Machine learning models predict SVR in comorbid HCV patients treated with sofosbuvir, daclatasvir, and ribavirin in Pakistan.

Machine learning models predict SVR in comorbid HCV patients treated with sofosbuvir, daclatasvir, a…
Photo by National Cancer Institute / Unsplash
Key Takeaway
Consider ML models for HCV risk stratification in resource-limited settings, but await broader validation.

This retrospective cohort study assessed machine learning-based prediction models using baseline demographic and laboratory parameters in 221 patients with comorbid Hepatitis C in Pakistan. The intervention involved algorithms including logistic regression, decision tree, random forest, XGBoost, and support vector machines (SVM). The primary outcome was sustained virological response (SVR), with secondary outcomes including accuracy, precision, recall, specificity, F1-score, and ROC-AUC. A total of 162 patients achieved SVR, representing 73% of the cohort. No adverse events, serious adverse events, discontinuations, or tolerability data were reported.

Performance analysis indicated that Random Forest yielded the highest accuracy (0.73), precision (0.84), and F1-score (0.81). Support vector machines (SVM) achieved the highest recall (0.82) and ROC-AUC (0.76). Specificity was not reported for individual models. The study addressed class imbalance in the training set using SMOTE.

Key limitations include the need for broader validation across larger, multicenter cohorts. The study was conducted in Pakistan, and funding or conflicts of interest were not reported. These results support the potential of ML-based decision tools using routine clinical data in high-burden, resource-limited settings to guide risk stratification, optimize monitoring intensity, and inform public health strategies for HCV control and elimination.

Study Details

Study typeCohort
EvidenceLevel 3
PublishedApr 2026
View Original Abstract ↓
IntroductionHepatitis C virus (HCV) infection remains highly prevalent in Pakistan, particularly among patients with multiple comorbid conditions. Despite the widespread availability of direct-acting antivirals (DAAs), practical machine learning approaches to predict sustained virological response (SVR) are still lacking in resource-limited settings.MethodsThis retrospective cohort study analyzed 221 comorbid HCV patients treated with Sofosbuvir + Daclatasvir ± Ribavirin combination therapy. Baseline demographic and laboratory parameters were preprocessed using standard scaling methods. The dataset was split into 70% training and 30% testing subsets, and class imbalance in the training set was addressed using SMOTE. Five machine learning models, logistic regression, decision tree, random forest, XGBoost, and SVM, were tuned using stratified five-fold cross-validation. Evaluation metrics, including accuracy, precision, recall, specificity, F1-score, and ROC-AUC, were used to assess test-set performance, and SHAP analysis was conducted for the top-performing model.ResultsAmong the 221 patients, 162 (73%) achieved SVR. Random Forest and SVM demonstrated the best discriminatory performance, with Random Forest achieving the highest accuracy (0.73), precision (0.84), and F1-score (0.81), while SVM produced the highest recall (0.82) and ROC-AUC (0.76). ALT and AST consistently emerged as the strongest predictors associated with treatment failure.ConclusionThese findings support the potential of ML-based decision tools using routine clinical data in high-burden, resource-limited settings to guide risk stratification, optimize monitoring intensity, and inform public health strategies for HCV control and elimination in Pakistan and highlight the need for broader validation across larger, multicenter cohorts.
Free Newsletter

Clinical research that matters. Delivered to your inbox.

Join thousands of clinicians and researchers. No spam, unsubscribe anytime.