HomeJCARM Vol 1, Issue 7 Article
Original Research Article

Machine Learning and Bayesian Approaches for Cervical Cancer Risk Prediction: Evidence from Behavioral Risk Factor Analysis with Kenya Contextualization

CHRISTINE AKINYI OWILI, Apaka Rangita

Click an author's name to view their details

CHRISTINE AKINYI OWILI Corresponding Author

School of Mathematics, Statistics, and Actuarial Sciences; Department of Mathematics, Statistics, and Actuarial Sciences, Maseno University, Kenya.

Correspondence: kipkoechkemboiezrah@gmail.com

Received
13 Aug 2026
Published
14 Sep 2026

Abstract

Background: Cervical cancer remains a significant public health burden globally, with sub-Saharan Africa experiencing disproportionately high mortality rates. Kenya faces particular challenges with limited screening access and high disease incidence. This study applies machine learning and Bayesian statistical methods to identify behavioral and psychological risk factors associated with cervical cancer status. Methods: We analyzed the UCI Cervical Cancer Behavior Risk dataset (n=72) containing 19 behavioral and psychological features. Unsupervised clustering (K-means and hierarchical) was performed to identify behavioral phenotypes. Four classification algorithms (Logistic Regression, Random Forest, Support Vector Machine, and XGBoost) were evaluated using 5-fold stratified cross-validation. Bayesian logistic regression was implemented using PyMC with No-U-Turn Sampler (NUTS) to quantify uncertainty in risk factor effects. Results: Logistic Regression achieved the highest discriminative performance (AUC-ROC = 0.992), followed by SVM (0.981). Clustering analysis identified two distinct behavioral phenotypes, with one cluster showing 60.7% cancer prevalence versus 9.1% in the other. Feature importance analysis consistently identified empowerment-related constructs (abilities, desires, knowledge) and perceived severity as top predictors. Bayesian analysis revealed that empowerment_desires (β = -1.545, 95% HDI: [-2.790, -0.324]) and perception_severity (β = -1.528, 95% HDI: [-2.862, -0.200]) were significantly associated with reduced cancer risk, suggesting protective behavioral patterns. Conclusions: Machine learning models demonstrate excellent discriminative ability for cervical cancer risk stratification based on behavioral factors. The identification of empowerment and perceived severity as protective factors provides actionable targets for intervention. These findings have important implications for risk-based screening prioritization in resource-constrained settings like Kenya, where mobile health applications could deploy these models to enhance early detection efforts.

Keywords: Cervical Cancer, Machine Learning, Bayesian Logistic Regression, Risk Prediction, Kenya, Health Behavior, Mhealth, Screening, Health Belief Model, Empowerment

How to Cite

APA

OWILI, C. A., & Rangita, A. (2026). Machine Learning and Bayesian Approaches for Cervical Cancer Risk Prediction: Evidence from Behavioral Risk Factor Analysis with Kenya Contextualization. Journal of Contemporary Academic Research and Methodologies, 1(7). https://doi.org/10.5281/zenodo.22744109

MLA

OWILI, CHRISTINE AKINYI, and Apaka Rangita. "Machine Learning and Bayesian Approaches for Cervical Cancer Risk Prediction: Evidence from Behavioral Risk Factor Analysis with Kenya Contextualization." Journal of Contemporary Academic Research and Methodologies, vol. 1, no. 7, 2026. DOI: https://doi.org/10.5281/zenodo.22744109

Chicago

OWILI, CHRISTINE AKINYI, and Apaka Rangita. "Machine Learning and Bayesian Approaches for Cervical Cancer Risk Prediction: Evidence from Behavioral Risk Factor Analysis with Kenya Contextualization." Journal of Contemporary Academic Research and Methodologies 1, no. 7 (2026). https://doi.org/10.5281/zenodo.22744109

References

Arbyn, M., Weiderpass, E., Bruni, L., de Sanjosé, S., Saraiya, M., Ferlay, J., & Bray, F. (2020). Estimates of incidence and mortality of cervical cancer in 2018: a worldwide analysis. The Lancet Global Health, 8(2), e191-e203. Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5-32. Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785-794). Cortes, C., & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20(3), 273-297. Dua, D., & Graff, C. (2019). UCI Machine Learning Repository. University of California, School of Information and Computer Science, Irvine, CA. Gelman, A., & Rubin, D. B. (1992). Inference from iterative simulation using multiple sequences. Statistical Science, 7(4), 457-472. Hoffman, M. D., & Gelman, A. (2014). The No-U-Turn sampler: adaptively setting path lengths in Hamiltonian Monte Carlo. Journal of Machine Learning Research, 15(1), 1593-1623. IARC. (2020). Global Cancer Observatory: Cancer Today. International Agency for Research on Cancer, World Health Organization. Kihara, M., Kassa, S., Odundo, E., Njoroge, M., Kataije, A., & Wambua, J. (2022). Implementation of a school-based human papillomavirus vaccination program in Kenya: lessons learned. Journal of Global Health Reports, 6, e2022136. Kruschke, J. K. (2018). Doing Bayesian Data Analysis: A Tutorial with R, JAGS, and Stan (2nd ed.). Academic Press. Mabele, M. A., Yansaneh, A., Aron, N., Bakam, C., Banke-Thomas, A., & Williams, N. (2020). Women's self-efficacy and cervical cancer screening uptake in Tanzania. International Journal of Gynecology & Obstetrics, 149(3), 341-348. Ministry of Health, Kenya. (2020). National Cancer Control Strategy 2017-2022. Nairobi: Government of Kenya. Mutua, K. D., Ochako, R., Wanyonyi, Z., Echoka, E., & Fegan, G. (2018). Barriers to cervical cancer screening and treatment among women in Kenya: a systematic review. International Journal of Community Medicine and Public Health, 5(11), 4655-4663. Rajpurkar, P., Chen, E., Banerjee, O., & Topol, E. J. (2022). AI in health and medicine. Nature Medicine, 28(1), 31-38. Rono, R. K., Stallman, J. S., Rohner, E., & Jaoko, W. (2020). Cervical cancer screening practices and associated factors among women aged 25-49 years in Kenya. East African Medical Journal, 97(3), 3152-3162. Rosenstock, I. M. (1974). Historical origins of the health belief model. Health Education Monographs, 2(4), 328-335. Rousseeuw, P. J. (1987). Silhouettes: a graphical aid to the interpretation and validation of cluster analysis. Journal of Computational and Applied Mathematics, 20, 53-65. Salvatier, J., Wiecki, T. V., & Fonnesbeck, C. (2016). Probabilistic programming in Python using PyMC3. PeerJ Computer Science, 2, e55. Shepherd, D., Khalil, M., & Kersten, F. (2020). Clinical risk prediction in cervical cancer. Best Practice & Research Clinical Obstetrics & Gynaecology, 66, 91-102. Ward, J. H. (1963). Hierarchical grouping to optimize an objective function. Journal of the American Statistical Association, 58(301), 236-244. WHO. (2021). Global Strategy to Accelerate the Elimination of Cervical Cancer as a Public Health Problem. Geneva: WHO Press.
CC BY-NC-SA 4.0

This article is published under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Free to read, share, and adapt with attribution.

Article Access
↓ Download PDF
11
Views
5
Downloads
Metadata
ISSN 3139-7247
Tracking ID JCARM_AUG_26_036
Article No. 036
↓ Download JATS XML
Article Info
Journal JCARM
Volume Vol 1, No 7
Year 2026
Type Original Research Article
Licence CC BY-NC-SA 4.0
Share