Komparasi Algoritma Random Forest dan XGBoost dalam Prediksi Premi Asuransi Kesehatan 619 497
DOI:
https://doi.org/10.26623/transformatika.v23i1.11914Keywords:
Asuransi Kesehatan, Komparasi, Random Forest, XgboostAbstract
Asuransi kesehatan saat ini menjadi salah satu hal yang banyak orang persiapkan dikarenakan adanya ketidakpastian risiko kesehatan dan biaya layanan kesehatan yang semakin naik. Perhitungan premi tiap individu dapat berbeda dikarenakan terdapat perbedaan profil kesehatan seperti usia, BMI maupun gaya hidup seperti merokok yang membuat perusahaan asuransi harus memperhitungkan premi dengan akurat agar tidak menimbulkan kerugian finansial dan sesuai dengan tingkat risiko terjadinya klaim. Adapaun tujuan dari penelitian ini adalah melakukan komparasi antara algoritma Random Forest dan XGBoost dalam memprediksi premi asuransi kesehatan berdasarkan beberapa faktor yang sulit dihitung secara manual. Evaluasi dilihat berdasarkan metrik regresi yaitu MAE, MSE, RMSE, dan R2. Pada penelitian ini, algoritma Random Forest berhasil memprediksi premi asuransi kesehatan lebih baik dari XGBoost dengan nilai MAE 2.573, MSE 24199792,43 RMSE 4919, 33 dan R2 sebesar 84.04%.
Downloads
References
[1] M. Siti Rifani Wulandari, B. Hilaliyah, F. Dwi Elnora, I. Nurbidari, and M. Simanjuntak, Edukasi Alokasi Keuangan untuk Asuransi Kesehatan pada Mahasiswa (Education of Financial Allocation for Health Insurance of College Students), Agrokreatif Maret 2023, vol. 9, no. 1.
[2] W. Mekniran, J.-N. Kramer, and T. Kowatsch, Reimagining Preventive Care and Digital Health: A Paradigm Shift in a Health Insurance’s Role, in Proceedings of the 17th International Joint Conference on Biomedical Engineering Systems and Technologies, SCITEPRESS - Science and Technology Publications, 2024, pp. 852–858. doi: 10.5220/0012400300003657.
[3] M. de Silva, Editorial, Proceedings of the Institution of Civil Engineers - Engineering Sustainability, vol. 175, no. 2, pp. 55–56, Apr. 2022, doi: 10.1680/jensu.2022.175.2.55.
[4] A. Putri, Estimation Model of Pure Health Insurance Premiums in Southeast America Using Generalized Linear Model (GLM) with Gamma Distribution, International Journal of Mathematics, Statistics, and Computing, vol. 3, no. 1, pp. 27–33, Feb. 2025, doi: 10.46336/ijmsc.v3i1.181.
[5] S. Dash, B. Sankar panigrahi, V. V. Bhaskar Reddy Sanikommu, B. K. Madhavi, and S. K. Sahoo, A Comparative Analysis of Different Machine Learning Techniques For Medical Insurance Premium Prediction, in 2024 1st International Conference on Cognitive, Green and Ubiquitous Computing (IC-CGU), IEEE, Mar. 2024, pp. 1–6. doi: 10.1109/IC-CGU58078.2024.10530731.
[6] M. Kapse, V. Sharma, R. Vidhale, and V. Vellanki, Customization of health insurance premiums using machine learning and explainable AI, International Journal of Information Management Data Insights, p., 2025, doi: 10.1016/j.jjimei.2025.100328.
[7] M. Bader and M. Maalouf, Evaluating Determinants of Health Insurance Premiums Using Advanced Multiple Linear Regression Techniques, in 2024 IEEE International Conference on Industrial Engineering and Engineering Management (IEEM), IEEE, Dec. 2024, pp. 440–444. doi: 10.1109/IEEM62345.2024.10857131.
[8] K. Kaushik, A. Bhardwaj, A. D. Dwivedi, and R. Singh, Machine Learning-Based Regression Framework to Predict Health Insurance Premiums, Int J Environ Res Public Health, vol. 19, no. 13, p. 7898, Jun. 2022, doi: 10.3390/ijerph19137898.
[9] S. Chen, Health Insurance Annual Premium Forecast Analysis, Highlights in Business, Economics and Management, vol. 28, pp. 343–349, Apr. 2024, doi: 10.54097/j1xsa139.
[10] Prof. M. S. Patil, Kulkarni Sanika, and Khurpe Sanjana, MEDICAL INSURANCE PREMIUM PREDICTION WITH MACHINE LEARNING, International Journal of Innovations in Engineering Research and Technology, vol. 11, no. 5, pp. 5–11, May 2024, doi: 10.26662/ijiert.v11i5.pp5-11.
[11]S. Maesaroh et al., Pembelajaran Mesin dan Kecerdasan Buatan: Teori dan Aplikasi Praktis. 2024.
[12] Intan Permata and Esther Sorta Mauli Nababan, Application Of Game Theory In Determining Optimum Marketing Strategy In Marketplace, JURNAL RISET RUMPUN MATEMATIKA DAN ILMU PENGETAHUAN ALAM, vol. 2, no. 2, pp. 65–71, Jul. 2023, doi: 10.55606/jurrimipa.v2i2.1336.
[13] D. Li, H. Yu, and X. Zhu, Research on UBI Claims Risk Probability Models Based on Machine Learning, in 2023 4th International Conference on Big Data & Artificial Intelligence & Software Engineering (ICBASE), IEEE, Aug. 2023, pp. 354–358. doi: 10.1109/ICBASE59196.2023.10303111.
[14] D. I. Sumantiawan, METODE ANALASIS MENGGUNAKAN ALGORITMA RANDOM FOREST UNTUK PREDIKSI BIAYA ASURANSI KESEHATAN, Februari. [Online]. Available: https://raw.githubusercontent.com/stedy/Machine-Learning-with-R-datasets/master/insurance.csv
[15] U. Orji and E. Ukwandu, Machine learning for an explainable cost prediction of medical insurance, Machine Learning with Applications, vol. 15, p. 100516, Mar. 2024, doi: 10.1016/j.mlwa.2023.100516.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 windy karunia

This work is licensed under a Creative Commons Attribution 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 License 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.

Transformatika is licensed under a Creative Commons Attribution 4.0 International License.



