Analyzing the Contribution of Bioimpedance and Laboratory Feature Groups to Machine Learning-Based Gallstone Disease Classification
Downloads
Gallstone disease classification using structured patient data can benefit from different measurement sources, but the contribution of complete bioimpedance and laboratory feature groups beyond routine variables remains unclear. This study compared predefined measurement groups, rather than selecting individual predictors, to assess their incremental predictive value and consistency across models. The UCI Gallstone Dataset contained 319 participants and 38 predictors assigned to demographic, clinical, bioimpedance, and laboratory groups. Four scenarios combined a demographic and clinical baseline with bioimpedance, laboratory measurements, or both. Logistic Regression, Support Vector Machine, Random Forest, and XGBoost were tuned using GridSearch and Sand Cat Swarm Optimization (SCSO). Each optimizer used 100 fitness evaluations based on stratified five-fold cross-validation within the training data, followed by evaluation on the same held-out test set of 64 participants. Stability was examined across five repeated stratified partitions for GridSearch and five independent SCSO seeds on the original partition, while uncertainty was assessed using 4,000 stratified paired bootstrap resamples. Averaged across classifiers, adding bioimpedance improved held-out accuracy by 0.195 with GridSearch and 0.211 with SCSO; corresponding gains for laboratory measurements were 0.242 and 0.254. Mean ROC-AUC gains were 0.240 and 0.261 for bioimpedance and 0.303 and 0.327 for laboratory measurements. The highest held-out accuracy was 0.797 for Logistic Regression in Scenario C under both optimizers and Scenario D under SCSO; the best F1-score (0.817) and ROC-AUC (0.886) occurred in Scenario D with SCSO and GridSearch, respectively. Bootstrap intervals supported both additions to the baseline, but did not establish that laboratory gains were statistically greater than bioimpedance gains. The incremental value of bioimpedance after laboratory measurements remained uncertain. Neither optimizer consistently outperformed the other on held-out data. These findings require external validation because they derive from a small, single-center dataset.
[1] X. Wang et al., “Global Epidemiology of Gallstones in the 21st Century: A Systematic Review and Meta-Analysis,” Clin. Gastroenterol. Hepatol., vol. 22, no. 8, pp. 1586–1595, 2024, doi: 10.1016/j.cgh.2024.01.051.
[2] Q. Ning, F. Liu, Y. Fang, X. Zhu, J. Liu, and Z. Li, “Estimating global prevalence of gallbladder stones in general population from 2000 to 2024: systematic review and meta-analysis,” Ann. Med., vol. 57, no. 1, p. 2570795, Dec. 2025, doi: 10.1080/07853890.2025.2570795.
[3] L. Mencarini, A. Vestito, R. M. Zagari, and M. Montagnani, “New Developments in the Ultrasonography Diagnosis of Gallbladder Diseases,” Gastroenterol. Insights, vol. 15, no. 1, pp. 42–68, 2024, doi: 10.3390/gastroent15010004.
[4] J. R. Quist, C. L. Rud, S. Brantlov, L. C. Ward, S. M. Dahl Baunwall, and C. L. Hvas, “Bioelectrical impedance analysis as a clinical marker of health status in adult patients with benign gastrointestinal disease: A systematic review,” Clin. Nutr. ESPEN, vol. 59, pp. 387–397, 2024, doi: 10.1016/j.clnesp.2023.12.145.
[5] R. A. Putra, G. A. Pradipta, and P. D. W. Ayu, “Gallbladder Disease Classification from Ultrasound Images Using CNN Feature Extraction and Machine Learning Optimization,” J. Electron. Electromed. Eng. Med. Informatics, vol. 7, no. 4, pp. 1089–1111, Oct. 2025, doi: 10.35882/jeeemi.v7i4.1030.
[6] İ. Esen, H. Arslan, S. Aktürk Esen, M. Gülşen, N. Kültekin, and O. Özdemir, “Early prediction of gallstone disease with a machine learning-based method from bioimpedance and laboratory data,” Medicine (Baltimore)., vol. 103, no. 8, p. e37258, Feb. 2024, doi: 10.1097/MD.0000000000037258.
[7] P. Sarker, J.-J. Tiang, and A.-A. Nahid, “Gallstone Classification Using Random Forest Optimized by Sand Cat Swarm Optimization Algorithm with SHAP and DiCE-Based Interpretability,” Sensors, vol. 25, no. 17, p. 5489, Sep. 2025, doi: 10.3390/s25175489.
[8] K. Shrestha, P. Sarker, J.-J. Tiang, and A.-A. Nahid, “Metaheuristic-based gallstone classification using rotational forest explained with SHAP,” Front. Digit. Heal., vol. 7, p. 1727559, 2026, doi: 10.3389/fdgth.2025.1727559.
[9] P. Das, M. A. U. Khan, P. Sarker, and A.-A. Nahid, “Gallstone disease classification using SLOA-optimized CatBoost classifier with explainable AI,” PLOS ONE, vol. 21, no. 6, p. e0342945, Jun. 2026, doi: 10.1371/journal.pone.0342945.
[10] C. Ç. Tamer, H. Arslan, and T. Çağlıkantar, “A novel method for predicting gallstones based on ensemble feature selection method,” Sci. Rep., Jul. 2026, doi: 10.1038/s41598-026-53394-7.
[11] A. Seyyedabbasi and F. Kiani, “Sand Cat swarm optimization: a nature-inspired algorithm to solve global optimization problems,” Eng. Comput., vol. 39, no. 4, pp. 2627–2651, 2023, doi: 10.1007/s00366-022-01604-x.
[12] İ. Esen, H. Arslan, S. Aktürk, M. Gülşen, N. Kültekin, and O. Özdemir, “Gallstone,” UCI Machine Learning Repository. 2024. Accessed: Nov. 08, 2026. [Online]. Available: https://archive.ics.uci.edu/dataset/1150/gallstone-1
[13] S. Szeghalmy and A. Fazekas, “A Comparative Study of the Use of Stratified Cross-Validation and Distribution-Balanced Stratified Cross-Validation in Imbalanced Learning,” Sensors, vol. 23, no. 4, p. 2333, 2023, doi: 10.3390/s23042333.
[14] A. Pfob, S.-C. Lu, and C. Sidey-Gibbons, “Machine learning in medicine: a practical introduction to techniques for data pre-processing, hyperparameter tuning, and model comparison,” BMC Med. Res. Methodol., vol. 22, no. 1, p. 282, Nov. 2022, doi: 10.1186/s12874-022-01758-8.
[15] S. Kapoor and A. Narayanan, “Leakage and the reproducibility crisis in machine-learning-based science,” Patterns, vol. 4, no. 9, p. 100804, 2023, doi: 10.1016/j.patter.2023.100804.
[16] J. Herrera Pinheiro et al., “The Impact of Feature Scaling in Machine Learning: Effects on Regression and Classification Tasks,” IEEE Access, vol. 13, pp. 199903–199931, Jan. 2025, doi: 10.1109/ACCESS.2025.3635541.
[17] N. Rabbani, G. Y. E. Kim, C. J. Suarez, and J. H. Chen, “Applications of machine learning in routine laboratory medicine: Current state and future directions,” Clin. Biochem., vol. 103, pp. 1–7, 2022, doi: 10.1016/j.clinbiochem.2022.02.011.
[18] M. Shehab et al., “Machine learning in medical applications: A review of state-of-the-art methods,” Comput. Biol. Med., vol. 145, p. 105458, 2022, doi: 10.1016/j.compbiomed.2022.105458.
[19] B. He and Z. Qiu, “Development and validation of an interpretable machine learning for mortality prediction in patients with sepsis,” Front. Artif. Intell., vol. 7, p. 1348907, 2024, doi: 10.3389/frai.2024.1348907.
[20] A. Al-Nafjan, A. Aljuhani, A. Alshebel, A. Alharbi, and A. Alshehri, “Artificial Intelligence in Predictive Healthcare: A Systematic Review,” J. Clin. Med., vol. 14, no. 19, p. 6752, 2025, doi: 10.3390/jcm14196752.
[21] B. Bischl et al., “Hyperparameter optimization: Foundations, algorithms, best practices, and open challenges,” WIREs Data Min. Knowl. Discov., vol. 13, no. 2, p. e1484, Mar. 2023, doi: 10.1002/widm.1484.
[22] N. I. S. Lu’o, D. F. Sengkey, and V. F. F. Joseph, “Combinations of Optimization Method and Balancing Technique in Hypertension Classification with Machine Learning,” Indonesian Journal of Electronics, Electromedical Engineering, and Medical Informatics, vol. 7, no. 2, pp. 387–400, May 2025, doi: 10.35882/ijeeemi.v7i2.86.
[23] F. Anka and N. Aghayev, “Advances in Sand Cat Swarm Optimization: A Comprehensive Study,” Arch. Comput. Methods Eng., vol. 32, no. 5, pp. 2669–2712, 2025, doi: 10.1007/s11831-024-10217-0.
[24] G. S. Collins et al., “Evaluation of clinical prediction models (part 1): from development to external validation,” BMJ, vol. 384, p. e074819, Jan. 2024, doi: 10.1136/bmj-2023-074819.
[25] S. R. Master, T. C. Badrick, A. Bietenbeck, and S. Haymond, “Machine Learning in Laboratory Medicine: Recommendations of the IFCC Working Group,” Clin. Chem., vol. 69, no. 7, pp. 690–698, Jul. 2023, doi: 10.1093/clinchem/hvad055.
[26] M. S. Bostan and S. Yılmaz, “Prospective evolution of body compositions based on bioelectrical impedance analysis and water intake on patients with gallstone,” Ulus. Travma Acil Cerrahi Derg., vol. 29, no. 8, pp. 850–857, Aug. 2023, doi: 10.14744/tjtes.2023.94034.
[27] M. Zhang et al., “Independent association of general and central adiposity with risk of gallstone disease: observational and genetic analyses,” Front. Endocrinol. (Lausanne)., vol. 15, p. 1367229, Mar. 2024, doi: 10.3389/fendo.2024.1367229.
[28] H. Zakeri Fardi, K. Mojtahedi, S. Maroufizadeh, F. Joukar, and F. Mansour-Ghanaei, “The association between metabolic syndrome and gallstone disease: A cross-sectional study from the PERSIAN Guilan cohort study,” Endocr. Metab. Sci., vol. 17, p. 100221, 2025, doi: 10.1016/j.endmts.2025.100221.
[29] J. Liu, Z. Hu, D. Bo, X. Zhang, Z. Zhang, and X. Liu, “Predictive role of insulin resistance surrogates in gallstone disease,” Medicine (Baltimore)., vol. 104, no. 14, p. e41478, Apr. 2025, doi: 10.1097/MD.0000000000041478.
[30] S. Li et al., “Liver Function-Related Indicators and Risk of Gallstone Diseases—A Multicenter Study and a Systematic Review and Meta-Analysis,” Gastroenterol. Res. Pract., vol. 2024, no. 1, p. 9097892, Jan. 2024, doi: 10.1155/2024/9097892.
[31] Z. Jiang, H. Jiang, X. Zhu, D. Zhao, and F. Su, “The relationship between high-sensitivity C-reactive protein and gallstones: a cross-sectional analysis,” Front. Med., vol. 11, p. 1453129, Nov. 2024, doi: 10.3389/fmed.2024.1453129.
[32] T. J. Bradshaw, Z. Huemann, J. Hu, and A. Rahmim, “A Guide to Cross-Validation for Artificial Intelligence in Medical Imaging,” Radiology: Artificial Intelligence, vol. 5, no. 4, p. e220232, Jul. 2023, doi: 10.1148/ryai.220232.
[33] E. H. Houssein, E. Saber, A. A. Ali, and Y. M. Wazery, “Integrating metaheuristics and artificial intelligence for healthcare: basics, challenging and future directions,” Artif. Intell. Rev., vol. 57, no. 8, p. 205, 2024, doi: 10.1007/s10462-024-10822-2.
[34] A. Lameesa, M. Hoque, M. S. Bin Alam, S. F. Ahmed, and A. H. Gandomi, “Role of metaheuristic algorithms in healthcare: a comprehensive investigation across clinical diagnosis, medical imaging, operations management, and public health,” J. Comput. Des. Eng., vol. 11, no. 3, pp. 223–247, Jun. 2024, doi: 10.1093/jcde/qwae046.
[35] M. Indirani, S. Sudheer, R. Mahaveerakannan, and P. Ruba, “Gallstone Disease Prediction Using Clinical and Biochemical Features Through Ensemble Learning Techniques,” Int. J. Comput. Intell. Syst., vol. 19, no. 1, p. 19, 2026, doi: 10.1007/s44196-025-01083-0.
[36] R. D. Riley et al., “Evaluation of clinical prediction models (part 2): how to undertake an external validation study,” BMJ, vol. 384, p. e074820, Jan. 2024, doi: 10.1136/bmj-2023-074820.
[37] L. Zhao et al., “Understanding decision curve analysis in clinical prediction model research,” Postgrad. Med. J., vol. 100, no. 1185, pp. 512–515, Jul. 2024, doi: 10.1093/postmj/qgae027.
[38] R. Strandberg, P. Jepsen, and H. Hagström, “Developing and validating clinical prediction models in hepatology – An overview for clinicians,” J. Hepatol., vol. 81, no. 1, pp. 149–162, 2024, doi: 10.1016/j.jhep.2024.03.030.
[39] K. G. M. Moons et al., “PROBAST+AI: an updated quality, risk of bias, and applicability assessment tool for prediction models using regression or artificial intelligence methods,” BMJ, vol. 388, p. e082505, Mar. 2025, doi: 10.1136/bmj-2024-082505.
[40] O. Efthimiou, M. Seo, K. Chalkou, T. Debray, M. Egger, and G. Salanti, “Developing clinical prediction models: a step-by-step guide,” BMJ, vol. 386, p. e078276, Sep. 2024, doi: 10.1136/bmj-2023-078276.
[41] R. D. Riley et al., “Evaluation of clinical prediction models (part 3): calculating the sample size required for an external validation study,” BMJ, vol. 384, p. e074821, Jan. 2024, doi: 10.1136/bmj-2023-074821.
[42] F. Campa et al., “High-standard predictive equations for estimating body composition using bioelectrical impedance analysis: a systematic review,” J. Transl. Med., vol. 22, no. 1, p. 515, May 2024, doi: 10.1186/s12967-024-05272-x.
[43] S. Brantlov et al., “Metrology in Bioelectrical Impedance Analysis (BIA): From Measurement Science to Clinical and Research Applications,” Sensors, vol. 26, no. 13, p. 4017, Jun. 2026, doi: 10.3390/s26134017.
Copyright (c) 2026 Leo Cristian Ferry, Yuni Yamasari (Author)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlikel 4.0 International (CC BY-SA 4.0) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).






