SVM Model with Hybrid Parameter Tuning Strategy for Colon Cancer Classification in Nairobi County
Main Article Content
Abstract
Colon cancer remains one of the leading causes of cancer-related deaths worldwide, with recent evidence pointing to a rising incidence in Nairobi County, Kenya. This study designs and evaluates a region-specific Support Vector Machine (SVM) classification model with a hybrid parameter-tuning algorithm for accurate colon cancer diagnosis in Kenyan hospitals. The work addresses diagnostic delays driven by a shortage of pathologists, lengthy manual slide reviews, and limited access to advanced procedures. Using the HIPAA-compliant LC25000 histopathological image dataset, we applied feature selection, normalization, and image augmentation to improve model robustness. Our two-stage hybrid hyperparameter-tuning strategy first performed a coarse Grid Search (C ∈ {0.1, 1, 10, 100}, γ ∈ {10⁻⁶, 10⁻⁵, 10⁻⁴}) followed by a Random Search (C ∈ [0.01, 100], γ ∈ [10⁻⁷, 10⁻⁵]) on the intersection of the top 10% configurations, enabling dense sampling of promising ranges. This approach leveraged SVM strengths in handling small, high-dimensional datasets, applying robust regularization, and weighting classes to address imbalance while reducing cross-validation variance by 15–20%. Compared to standalone grid and Random Search methods, the hybrid model achieved 83.0% accuracy (improvements of 1.5% and 2.0%), an F1-score of 82.4%, malignant recall of 81.0%, and benign precision of 84.0%. In practice, these gains translate to dozens more correctly classified slides per 4,000, representing an impactful improvement for resource-limited clinics in Nairobi. At Kenyatta National Hospital (KNH), the SVM model correctly identified 73 of 77 positive cases, yielding 94.81% sensitivity (recall) and minimizing missed colon cancer diagnoses. These findings demonstrate that tailored, efficient machine learning models can strengthen diagnostic capacity where expert resources are scarce. Future work includes collecting 200 balanced KNH images (100 benign, 100 malignant) for proper validation, implementing Bayesian optimization with an expected improvement acquisition function, and training on combined histopathology and clinical data.
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
I/We agree to transfer the copyright of this manuscript to the International Journal of Professional Practice (The IJPP) in the event that the manuscript is published in the Journal.
I/We give the undersigned authors of the manuscript have made the following declaration:
(a) That I/We have made substantial contribution during the conception and design, or acquisition of data, or analysis and interpretation of the data,
(b) That I/We have participated in drafting the article or revising it critically for important intellectual content,
(c) That I/We have read and confirm the content of the manuscript and have agreed to it,
(d) That I/We have participated sufficiently in the work to take public responsibility for appropriate portions of the content of the paper,
(e) That I/We give guarantee that the content of the manuscript is original, and has not beenvpublished elsewhere and is not currently being considered for publication by another journal.
References
Al-Rajab, M., Lu, J., Xu, Q., Kentour, M., Sawsa, A., Shuweikeh, E., & Arasaradnam, R.(2023). A hybrid machine learning feature selection model–HMLFSM to enhance gene classification applied to multiple colon cancer datasets. PLOS ONE, 18(11), e0286791. https://doi.org/10.1371/journal.pone.0286791 DOI: https://doi.org/10.1371/journal.pone.0286791
Ashish, T., Anuradha, M., & Brijesh, C. (2023, March 3–4). Colon cancer tissue classification using ML. In 2023 6th International Conference on Information Systems and Computer Networks (ISCON). GLA University, Mathura, India. https://doi.org/10.1109/ISCON57294.2023.10112181 DOI: https://doi.org/10.1109/ISCON57294.2023.10112181
Bergstra, J., & Bengio, Y. (2012). Random search for hyper-parameter optimization. Journal of Machine Learning Research, 13(2), 281–305. https://jmlr.org/papers/volume13/bergstra12a/bergstra12a.pdf
Fadi, A., & Aleksandar, V. (2023). Machine learning methods for cancer classification using gene expression data: A review. Bioengineering, 10(2), 173. https://doi.org/10.3390/bioengineering10020173 DOI: https://doi.org/10.3390/bioengineering10020173
Kenya National Cancer Registry. (2023). Kenya cancer statistics report 2022. Ministry of Health, Kenya. https://www.scribd.com/document/852612280/404-Kenya-Fact-Sheet-2
Ministry of Health. (2023). Kenya Health Sector Strategic Plan. Kenya Ministry Health. chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://extranet.who.int/countryplanningcycles/sites/default/files/public_file_rep/KEN_Kenya_Health-Sector-Strategic-Plan-2018-2023.pdf
Ogbe, M. I., Nzeanorue, C. C., Olusola, R. A., Olofin, D. O., Owoeye, M. C., Enabulele, E.C., Ibijola, A. P., Ifechukwu, C. J., & Ayo, O. I. (2024). A comparative study of decision tree and support vector machine for breast cancer prediction. World Journal of Advanced Research and Reviews, 23(1), 746–752. https://doi.org/10.30574/wjarr.2024.23.1.2024 DOI: https://doi.org/10.30574/wjarr.2024.23.1.2024
Ram Pavan Kumar, V. T., Ramesh, P. L., & Arulselvi, M. (2024). Hybrid feature selection for classification of colon cancer using data processing by support vector machines [Preprint]. Research Square. https://doi.org/10.21203/rs.3.rs-3163251/v1 DOI: https://doi.org/10.21203/rs.3.rs-3163251/v1
Steinwart, I., & Christmann, A. (2008). Support Vector Machines. Springer-Verlag. DOI: https://doi.org/10.1007/978-0-387-77242-4
Vanitha, K., Mahesh, T. R., Sathea Sree, S., & Guluwadi, S. (2024). Deep learning ensemble approach with explainable AI for lung and colon cancer classification using advanced hyperparameter tuning. BMC Medical Informatics and Decision Making, 24, 222. https://doi.org/10.1186/s12911-024-02628-7 DOI: https://doi.org/10.1186/s12911-024-02628-7
World Health Organization. (2023, July 11). Colorectal cancer. https://www.who.int/news-room/fact-sheets/detail/colorectal-cancer