Related Experiment Video
Updated: Aug 10, 2025

Author Spotlight: Advancements and Challenges in Hepatitis B Virus Detection
Published on: December 15, 2023
Machine Learning Approaches for the Prediction of Hepatitis B and C Seropositivity
Valeriu Harabor1, Raluca Mogos2, Aurel Nechita1
1Clinical and Surgical Department, Faculty of Medicine and Pharmacy, 'Dunarea de Jos' University, 800216 Galati, Romania.
Insights
Machine learning models effectively predict Hepatitis C virus (HCV) infection, with K-nearest neighbors achieving 98.1% accuracy. Predictive performance for Hepatitis B virus (HBV) was more modest, highlighting ML
Area of Science:
- Hepatology
- Medical Informatics
- Public Health
Background:
- Identifying patients at risk for Hepatitis B (HBV) and Hepatitis C (HCV) infections presents a significant clinical and public health challenge.
- Early detection and risk stratification are crucial for managing viral hepatitis.
- Machine learning (ML) offers potential solutions for improving diagnostic accuracy and patient management.
Purpose of the Study:
- To evaluate and compare the predictive performance of four machine learning models (SVM, RF, NB, KNN) for HBV and HCV status.
- To assess the utility of ML in identifying patients at risk for viral hepatitis.
- To compare the efficacy of different ML algorithms in predicting HCV versus HBV infection.
Main Methods:
- A prospective cohort screening study was conducted in Romania from January to November 2022.
- Adult patients undergoing viral hepatitis screening provided clinical data via a structured survey.
- Four ML models—Support Vector Machine (SVM), Random Forest (RF), Naïve Bayes (NB), and K-Nearest Neighbors (KNN)—were trained and evaluated on the collected data.
Main Results:
- All ML models demonstrated superior performance in predicting HCV status compared to HBV status.
- The K-Nearest Neighbors (KNN) algorithm achieved the highest accuracy for HCV prediction (98.1%).
- Support Vector Machine (SVM) and Random Forest (RF) models showed high accuracy for HCV (97.6%), while Naïve Bayes (NB) achieved 95.7%. Predictive accuracies for HBV ranged from 78.2% to 97.6%.
Conclusions:
- Machine learning models show significant promise as tools for predicting HCV infection.
- These ML models can aid in the risk stratification of adult patients within viral hepatitis screening programs.
- Further research may refine ML applications for both HBV and HCV risk assessment and early detection.
Abstract:
(1) Background: The identification of patients at risk for hepatitis B and C viral infection is a challenge for the clinicians and public health specialists. The aim of this study was to evaluate and compare the predictive performances of four machine learning-based models for the prediction of HBV and HCV status. (2) Methods: This prospective cohort screening study evaluated adults from the North-Eastern and South-Eastern regions of Romania between January 2022 and November 2022 who underwent viral hepatitis screening in their family physician's offices. The patients' clinical characteristics were extracted from a structured survey and were included in four machine learning-based models: support vector machine (SVM), random forest (RF), naïve Bayes (NB), and K nearest neighbors (KNN), and their predictive performance was assessed. (3) Results: All evaluated models performed better when used to predict HCV status. The highest predictive performance was achieved by KNN algorithm (accuracy: 98.1%), followed by SVM and RF with equal accuracies (97.6%) and NB (95.7%). The predictive performance of these models was modest for HBV status, with accuracies ranging from 78.2% to 97.6%. (4) Conclusions: The machine learning-based models could be useful tools for HCV infection prediction and for the risk stratification process of adult patients who undergo a viral hepatitis screening program.
More Related Videos
10:37Analysis of HBV-Specific CD4 T-cell Responses and Identification of HLA-DR-Restricted CD4 T-Cell Epitopes Based on a Peptide Matrix
Published on: October 20, 2021
11:34A Competent Hepatocyte Model Examining Hepatitis B Virus Entry through Sodium Taurocholate Cotransporting Polypeptide as a Therapeutic Target
Published on: May 10, 2022