Implementasi Algoritma Linear Regression pada Framework Laravel untuk Prediksi Biaya Asuransi Kesehatan

Penulis

DOI:

https://doi.org/10.76349/x2862183

Kata Kunci:

biaya asuransi kesehatan, laravel, regresi linier berganda, php-ml, pembelajaran mesin

Abstrak

Estimasi biaya medis yang akurat sangat krusial bagi perusahaan asuransi untuk memastikan penetapan premi yang presisi dan manajemen risiko yang efektif. Penelitian ini bertujuan untuk mengimplementasikan algoritma Multiple Linear Regression menggunakan pustaka php-ai/php-ml pada framework Laravel untuk memprediksi biaya asuransi kesehatan. Data yang digunakan adalah dataset sekunder Medical Insurance Cost yang terdiri dari 1.338 data historis pasien, dengan atribut meliputi usia, jenis kelamin, BMI, jumlah anak, dan status perokok. Metodologi penelitian mencakup pra-pemrosesan data melalui teknik encoding dan normalisasi, serta pembagian data dengan metode Hold-out Validation berasio 80:20. Hasil pengujian menunjukkan bahwa model menghasilkan nilai Mean Absolute Percentage Error (MAPE) sebesar 18,48% atau tingkat akurasi 81,52%. Kinerja ini mengindikasikan kemampuan prediksi kategori "Baik" (Good Forecasting), di mana model mampu mengikuti pola data aktual dengan presisi. Penelitian ini menyimpulkan bahwa integrasi regresi linear dengan pra-pemrosesan data yang tepat pada sistem berbasis web mampu memberikan estimasi biaya yang andal dan transparan.

Unduhan

Data unduhan tidak tersedia.

Referensi

[1] C. H. H. Jannah, I. Muslem, and D. Azmi, “Jurnal Ilmu Komputer Aceh Klasifikasi Plat Nomor Kenderaan Bedasarkan Wilayah Tertentu Menggunakan Algoritma Optical Character Recognition,” Jurnal Ilmu Komputer Aceh, Oct. 2025, [Online]. Available: https://jurnal.fikompublisher.com/ilka/article/view/16

[2] I. Muslem, I. Irvanizam, A. Almuzammil, and F. Johar, “Adaptive Heuristic-Based Ant Colony Optimization for Multi-Constraint University Course Timetabling with Morning Slot Preference for Energy Efficiency,” Jurnal Teknik Informatika (Jutif), vol. 6, no. 6, pp. 5930–5943, Jan. 2026, doi: 10.52436/1.jutif.2025.6.6.5588.

[3] S. Zou, C. Chu, N. Shen, and J. Ren, “Healthcare Cost Prediction Based on Hybrid Machine Learning Algorithms,” Mathematics, vol. 11, no. 23, p. 4778, Nov. 2023, doi: 10.3390/math11234778.

[4] M. A. Morid and O. R. L. Sheng, “Healthcare Cost Prediction for Heterogeneous Patient Profiles Using Deep Learning Models with Administrative Claims Data,” Information Systems Research, Feb. 2025, doi: 10.1287/isre.2021.0643.

[5] B. Langenberger, T. Schulte, and O. Groene, “The application of machine learning to predict high-cost patients: A performance-comparison of different models using healthcare claims data,” PLoS One, vol. 18, no. 1, p. e0279540, Jan. 2023, doi: 10.1371/journal.pone.0279540.

[6] M. R and M. Arunraj, “Enhancing Healthcare Insurance Cost Prediction with a Metaheuristic Optimization Approach: Comparative Analysis of Machine Learning Models,” in 2025 3rd International Conference on Inventive Computing and Informatics (ICICI), IEEE, Jun. 2025, pp. 1225–1232. doi: 10.1109/ICICI65870.2025.11069726.

[7] M. H. R. Bhatti, N. Javaid, B. Mansoor, N. Alrajeh, M. Aslam, and M. Asad, “New Hybrid Deep Learning Models to Predict Cost From Healthcare Providers in Smart Hospitals,” IEEE Access, vol. 11, pp. 136988–137010, 2023, doi: 10.1109/ACCESS.2023.3336424.

[8] Vishruthi D and Dr. V. Vijayakumar, “Medical Insurance Costs Prediction Using Explainable AI,” International Journal of Advanced Research in Science, Communication and Technology, pp. 639–644, Apr. 2025, doi: 10.48175/IJARSCT-24982.

[9] D. M. Rao, L. K. R. Somalaraju, V. S. M. Bodagala, and V. B. J. S. Edapalapati, “Predicting Medical Insurance Costs: A Machine Learning Approach for Smarter Risk Assessment,” in 2025 International Conference on Computational Robotics, Testing and Engineering Evaluation (ICCRTEE), IEEE, May 2025, pp. 1–7. doi: 10.1109/ICCRTEE64519.2025.11052963.

[10] S. S. Mladenovic et al., “Identification of the important variables for prediction of individual medical costs billed by health insurance,” Technol. Soc., vol. 62, p. 101307, Aug. 2020, doi: 10.1016/J.TECHSOC.2020.101307.

[11] Y. Rathor, V. Gupta, Y. Goyal, and Sparsh, “A REVIEW PAPER OF COST PREDICTION OF MEDICAL INSURANCE,” Proceedings - 2025 7th International Conference on Computational Intelligence and Communication Technologies, CCICT 2025, pp. 124–131, 2025, doi: 10.1109/CCICT65753.2025.00029.

[12] V. Vijayakumar, “Medical Insurance Costs Prediction Using Explainable AI,” International Journal of Advanced Research in Science, Communication and Technology International Open-Access, Double-Blind, Peer-Reviewed, Refereed, Multidisciplinary Online Journal, vol. 5, no. 2, 2025, doi: 10.48175/IJARSCT-24982.

[13] M. Mahesh, B. S. Priyatham, G. Saikumar, and K. V. V. Reddy, “Predictive Analytics for Medical Insurance Premiums,” Proceedings of 5th International Conference on Pervasive Computing and Social Networking, ICPCSN 2025, pp. 303–309, 2025, doi: 10.1109/ICPCSN65854.2025.11034884.

[14] S. Mohan, S. Sharma, S. Agrawal, and S. Kamatchi, “Optimization of Insurance Claim Cost Prediction Through Health Data and Machine Learning,” 2025 5th International Conference on Advances in Electrical, Computing, Communication and Sustainable Technologies, ICAECT 2025, 2025, doi: 10.1109/ICAECT63952.2025.10958928.

[15] S. Mishra and A. Tiwari, “Medical Insurance Cost Prediction using AWS Sage-Maker,” 2024 International Conference on Augmented Reality, Intelligent Systems, and Industrial Automation, ARIIA 2024, 2024, doi: 10.1109/ARIIA63345.2024.11051598.

[16] N. M. D. Dwikasari, N. P. Sutramiani, K. S. Y. Putri, N. T. R. Kusuma, M. D. A. D. Pramana, and I. W. A. S. Darma, “Medical Costs Estimation Using Linear Regression Method,” Jurnal Ilmiah Merpati (Menara Penelitian Akademika Teknologi Informasi), vol. 11, no. 3, p. 171, Dec. 2023, doi: 10.24843/JIM.2023.v11.i03.p03.

[17] J. A. Cenita, P. R. Asuncion, and J. Victoriano, “Performance Evaluation of Regression Models in Predicting the Cost of Medical Insurance,” International Journal of Computing Sciences Research, vol. 7, pp. 2052–2065, Jan. 2023, doi: 10.25147/ijcsr.2017.001.1.146.

[18] Ch. A. ul Hassan, J. Iqbal, S. Hussain, H. AlSalman, M. A. A. Mosleh, and S. Sajid Ullah, “A Computational Intelligence Approach for Predicting Medical Insurance Cost,” Math. Probl. Eng., vol. 2021, pp. 1–13, Dec. 2021, doi: 10.1155/2021/1162553.

[19] K. Ramani, S. T. Kumar, P. P. S. Datta, P. Jamuna, and K. S. Nithin, “Predicting Health Insurance Claim Amount through Machine Learning Algorithms,” in 2024 IEEE International Conference on Information Technology, Electronics and Intelligent Communication Systems (ICITEICS), IEEE, Jun. 2024, pp. 1–6. doi: 10.1109/ICITEICS61368.2024.10625132.

[20] D. Armiady and I. M. R, “Klasifikasi Kualitas Buah Pisang Berdasarkan Citra Buah Menggunakan Stochastic Gradient Descent,” KLIK: Kajian Ilmiah Informatika dan Komputer, vol. 4, no. 2, 2023.

[21] D. Chicco, M. J. Warrens, and G. Jurman, “The coefficient of determination R-squared is more informative than SMAPE, MAE, MAPE, MSE and RMSE in regression analysis evaluation,” PeerJ Comput. Sci., vol. 7, p. e623, Jul. 2021, doi: 10.7717/peerj-cs.623.

[22] M. Sajid Farooq et al., “Developing a Transparent Anaemia Prediction Model Empowered With Explainable Artificial Intelligence,” IEEE Access, vol. 13, pp. 1307–1318, 2025, doi: 10.1109/ACCESS.2024.3522080.

[23] P. F. Khan and K. Meehan, “Diabetes prognosis using white-box machine learning framework for interpretability of results,” 2021 IEEE 11th Annual Computing and Communication Workshop and Conference, CCWC 2021, pp. 1501–1506, Jan. 2021, doi: 10.1109/CCWC51732.2021.9375927.

[24] H. Lu and S. Uddin, “Explainable Stacking-Based Model for Predicting Hospital Readmission for Diabetic Patients,” Information, vol. 13, no. 9, p. 436, Sep. 2022, doi: 10.3390/info13090436.

Unduhan

Diterbitkan

27-03-2026

Cara Mengutip

[1]
R. Parlika, F. Ramadhana, I. Muslem, dan A. Afriana, “Implementasi Algoritma Linear Regression pada Framework Laravel untuk Prediksi Biaya Asuransi Kesehatan”, NOVAKOMPUTA, vol. 1, no. 1, hlm. 1–7, Mar 2026, doi: 10.76349/x2862183.