Hepatitis Disease Prediction Using Convolutional Neural Network Algorithm in Machine Learning Technology
Main Article Content
Abstract
Background of Study: Hepatitis is a significant viral infection causing liver inflammation, potentially leading to hepatocyte death and impaired liver function. Types B (HBV) and C (HCV) can cause chronic hepatitis, cirrhosis, and cancer. Globally, around 257 million people are infected with HBV and 71 million with HCV. Early detection of chronic Hepatitis B is crucial for effective management.
Aims and Scope of Paper: This study aims to predict hepatitis progression in patients from their medical histories. It seeks to enhance prediction accuracy by addressing challenges like noise and inefficiency caused by similar aspect values and distributions within datasets.
Methods: Machine learning, a branch of AI, is employed for chronic disease prediction. The study primarily utilizes the K-Nearest Neighbour (KNN) algorithm to predict and eliminate redundant data and noise. Other models evaluated include Logistic Regression, Random Forest, and Convolutional Neural Networks (CNN), with SMOTE used for dataset balancing.
Result: KNN achieved 0.970 accuracy, Logistic Regression 0.966, and Random Forest 0.95. The CNN model demonstrated exceptional performance, reaching 1.0 accuracy with perfect precision, recall, and F1-score for Hepatitis A and B.
Conclusion: While KNN performed well among traditional methods, deep learning models like CNN show superior accuracy and generalizability, offering a robust framework for hepatitis prediction.
Article Details
Copyright (c) 2025 Ranga Swamy Sirisati, B. Jayasri, A. Avanthi, A. Ramyasri, K. Sowmya

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
References
Abdelhamed, W., & El-Kassas, M. (2024). Hepatitis B virus as a risk factor for hepatocellular carcinoma: There is still much work to do. Liver Research, 8(2), 83–90. https://doi.org/10.1016/j.livres.2024.05.004
Ajuwon, B. I., Richardson, A., Roper, K., & Lidbury, B. A. (2023). Clinical Validity of a Machine Learning Decision Support System for Early Detection of Hepatitis B Virus: A Binational External Validation Study. Viruses, 15(8). https://doi.org/10.3390/v15081735
Alizargar, A., Chang, Y. L., & Tan, T. H. (2023). Performance Comparison of Machine Learning Approaches on Hepatitis C Prediction Employing Data Mining Techniques. Bioengineering, 10(4). https://doi.org/10.3390/bioengineering10040481
Alotaibi, A., Alnajrani, L., Alsheikh, N., Alanazy, A., Alshammasi, S., Almusairii, M., Alrassan, S., & Alansari, A. (2023). Explainable Ensemble-Based Machine Learning Models for Detecting the Presence of Cirrhosis in Hepatitis C Patients. Computation, 11(6). https://doi.org/10.3390/computation11060104
AYENI, J. A. (2022). Convolutional Neural Network (CNN): The architecture and applications. Applied Journal of Physical Science, 4(4), 42–50. https://doi.org/10.31248/ajps2022.085
Castagna, F., Liguori, G., Lombardi, R., Bava, R., Costagliola, A., Giordano, A., Quintiliani, M., Giacomini, D., Albergo, F., Gigliotti, A., Lupia, C., Ceniti, C., Tilocca, B., Palma, E., Roncada, P., & Britti, D. (2024). Hepatitis E and Potential Public Health Implications from a One-Health Perspective: Special Focus on the European Wild Boar (Sus scrofa). Pathogens, 13(10). https://doi.org/10.3390/pathogens13100840
Gautam, P. K. (2018). Senerio of Sero-Prevalence of Hepatitis B Infection in Rular Area in East Uttar Pradesh: A Hospital Based Study. Journal of Medical Science And Clinical Research, 6(11), 311–315. https://doi.org/10.18535/jmscr/v6i11.55
Mancinelli, R., Rosa, L., Cutone, A., Lepanto, M. S., Franchitto, A., Onori, P., Gaudio, E., & Valenti, P. (2020). Viral hepatitis and iron dysregulation: Molecular pathways and the role of lactoferrin. Molecules, 25(8), 1–21. https://doi.org/10.3390/molecules25081997
Mathur, P., Khanam, A., & Kottilil, S. (2024). Chronic Hepatitis D Virus Infection and Its Treatment: A Narrative Review. Microorganisms, 12(11). https://doi.org/10.3390/microorganisms12112177
Mello-Román, J. D., & Martínez-Amarilla, A. (2025). COVID-19 Data Analysis: The Impact of Missing Data Imputation on Supervised Learning Model Performance. Computation, 13(3), 2–23. https://doi.org/10.3390/computation13030070
Migueres, M., Lhomme, S., & Izopet, J. (2021). Hepatitis A: Epidemiology, high-risk groups, prevention and research on antiviral treatment. Viruses, 13(10), 1–12. https://doi.org/10.3390/v13101900
Modhugu, V. R. (2023). Efficient Hybrid CNN Method to Classify the Liver Diseases. Journal of Wireless Mobile Networks, Ubiquitous Computing, and Dependable Applications, 14(3), 36–47. https://doi.org/10.58346/JOWUA.2023.I3.004
Morozov, V. A., & Lagaye, S. (2018). Hepatitis C virus: Morphogenesis, infection and therapy. World Journal of Hepatology, 10(2), 186–212. https://doi.org/10.4254/wjh.v10.i2.186
Pattyn, J., Hendrickx, G., Vorsters, A., & Van Damme, P. (2021). Hepatitis B Vaccines. Journal of Infectious Diseases, 224(Suppl 4), S343–S351. https://doi.org/10.1093/infdis/jiaa668
Prakash, N. N., Rajesh, V., Namakhwa, D. L., Dwarkanath Pande, S., & Ahammad, S. H. (2023). A DenseNet CNN-based liver lesion prediction and classification for future medical diagnosis. Scientific African, 20. https://doi.org/10.1016/j.sciaf.2023.e01629
Priyatno, A. M., & Widiyaningtyas, T. (2024). a Systematic Literature Review: Recursive Feature Elimination Algorithms. JITK (Jurnal Ilmu Pengetahuan Dan Teknologi Komputer), 9(2), 196–207. https://doi.org/10.33480/jitk.v9i2.5015
Protić, D., Stanković, M., Prodanović, R., Vulić, I., Stojanović, G. M., Simić, M., Ostojić, G., & Stankovski, S. (2023). Numerical Feature Selection and Hyperbolic Tangent Feature Scaling in Machine Learning-Based Detection of Anomalies in the Computer Network Behavior. Electronics (Switzerland), 12(19). https://doi.org/10.3390/electronics12194158
Salehi, A. W., Khan, S., Gupta, G., Alabduallah, B. I., Almjally, A., Alsolai, H., Siddiqui, T., & Mellit, A. (2023). A Study of CNN and Transfer Learning in Medical Imaging: Advantages, Challenges, Future Scope. Sustainability (Switzerland), 15(7). https://doi.org/10.3390/su15075930
Taye, M. M. (2023). Theoretical Understanding of Convolutional Neural Network: Concepts, Architectures, Applications, Future Directions. Computation, 11(3). https://doi.org/10.3390/computation11030052
Tun, W., Wong, J. K.-W., & Ling, S.-H. (2024). Hybrid Random Forest and Support Vector Machine Modeling for HVAC Fault Detection and Diagnosis. Sensors, 24(14), 1–15. https://doi.org/10.3390/s21248163
Vo Quang, E., Shimakawa, Y., & Nahon, P. (2021). Epidemiological projections of viral-induced hepatocellular carcinoma in the perspective of WHO global hepatitis elimination. Liver International, 41(5), 915–927. https://doi.org/10.1111/liv.14843
Ranga Swamy Sirisati