Perancangan Aplikasi Mobile untuk Memprediksi Potensi Kanker Paru-Paru Menggunakan Algoritma K-Nearest Neighbors
DOI:
https://doi.org/10.55123/jumintal.v4i1.5460Kata Kunci:
K-Nearest Neighbor, Kanker Paru, Machine LearningAbstrak
This study aims to develop a lung cancer risk prediction system using the K-Nearest Neighbors (KNN) algorithm. The dataset consists of 5,000 patient medical records. During preprocessing, several steps were conducted, including handling missing values, data normalization, label encoding, and selecting relevant features for prediction. A total of 61 outlier entries were removed using the Interquartile Range (IQR) method, resulting in 4,939 clean data entries. The model was trained by tuning the k parameter, with the best performance achieved at k = 20, reaching a training accuracy of 89%. Model evaluation on the test data produced an accuracy of 88%, along with high precision, recall, and F1-score for both classes. After training, the model was integrated into a mobile-based application called LungHealth, which allows users to assess their lung cancer risk. This system is expected to support early detection in a fast, accurate, and efficient manner, enabling individuals—especially those with high-risk factors—to take preventive actions promptly and improve awareness of their lung health.
Unduhan
Referensi
Aryani, Y. (2020). Sistem informasi penjualan barang dengan metode regresi linear berganda dalam prediksi pendapatan perusahaan. Jurnal Riset Sistem Informasi Dan Teknologi Informasi (JURSISTEKNI), 2(2), 39–51.
Bharathy, S., & Pavithra, R. (2022). Lung cancer detection using machine learning. 2022 International Conference on Applied Artificial Intelligence and Computing (ICAAIC), 539–543.
Chida, Y., Hamer, M., Wardle, J., & Steptoe, A. (2008). Do stress-related psychosocial factors contribute to cancer incidence and survival? Nature Clinical Practice Oncology, 5(8), 466–475.
Ganesh, S., & Baskar, R. (2025). Comparative analysis of early detection of lung cancer through breath analysis by comparing K-nearest neighbours (KNN) with Naive Bayes. AIP Conference Proceedings, 3270(1), 20169.
Harun, R., Pelangi, K. C., & Lasena, Y. (2020). Penerapan Data Mining untuk Menentukan Potensi Hujan Harian dengan Menggunakan Algoritma K Nearest Neighbor (KNN). Jurnal Manajemen Informatika Dan Sistem Informasi, 3(1), 8–15.
Kurniawan, H., Apriliah, W., Kurniawan, I., & Firmansyah, D. (2020). Penerapan metode waterfall dalam perancangan sistem informasi penggajian pada SMK Bina Karya Karawang. Jurnal Interkom: Jurnal Publikasi Ilmiah Bidang Teknologi Informasi Dan Komunikasi, 14(4), 159–169.
Lestari, V. A., Ananta, A. Y., & Basudewa, P. (2023). Sistem informasi prediksi persediaan obat di apotek Naylun Farma menggunakan Holt-Winters. Jurnal Informatika Polinema, 9(2), 229–236.
Li, D., Shi, J., Liang, D., Ren, M., & He, Y. (2023). Lung cancer risk and exposure to air pollution: a multicenter North China case–control study involving 14604 subjects. BMC Pulmonary Medicine, 23(1), 182.
Liang, M., & Luo, F. (2025). Machine learning insights into early mortality risks for small cell lung cancer patients post-chemotherapy. Frontiers in Medicine, 12, 1483097.
Maleki, N., Zeinali, Y., & Niaki, S. T. A. (2021). A k-NN method for lung cancer prognosis with the use of a genetic algorithm for feature selection. Expert Systems with Applications, 164, 113981.
Maulana, A., Bau, R. T. R. L., Hermila, A., Munawar, Z., Setiawan, R., Aisa, S., Istiono, W., Irfan, A., Pratama, Y. A., Ramadhany, E. D., & others. (2023). Pemrograman Web 101 : Memahami Dasar-dasar untuk Mengembangkan Situs Web. Get Press Indonesia.
Maulana, A., Heryana, N., Pasaribu, J. S., Aditya, A., Elisawati, Rudiansyah, Amna, Permana, A. A., Rukmana, A. Y., Abdillah, R., & Wahyono, T. (2023). Rekayasa Perangkat Lunak: Konsep, Metode, dan Praktik Terbaik. Global Eksekutif Teknologi.
Moon, K., & Jetawat, A. (2024). Predicting Lung Cancer with K-Nearest Neighbors (KNN): A Computational Approach. Indian J. Sci. Technol, 17(21), 2199–2206.
Pangaribuan, J. J., Maulana, A., Romindo, R., & others. (2024). UNLEASHING THE POWER OF SVM AND KNN: ENHANCED EARLY DETECTION OF HEART DISEASE. JITK (Jurnal Ilmu Pengetahuan Dan Teknologi Komputer), 10(2), 342–351.
Pangaribuan, J. J., Maulana, A., Zesty, J., Nadjar, F., & others. (2022). Simpuru: Gamifikasi Pembelajaran Bahasa Jepang dalam Aplikasi Berbasis Web. Jurnal Teknologi Dan Ilmu Komputer Prima (JUTIKOMP), 5(2), 60–65.
Sachdeva, R. K., Bathla, P., Rani, P., Lamba, R., Ghantasala, G. S. P., & Nassar, I. F. (2024). A novel K-nearest neighbor classifier for lung cancer disease diagnosis. Neural Computing and Applications, 36(35), 22403–22416.
Sambi Ua, A., Lestriani H, D., Sonia Kristanty Marpaung, E., Ong, J., Savinka, M., Nurhaliza, P., & Yulia Ningsih, R. (2023). Penggunaan Bahasa Pemrograman Python Dalam Analisis Faktor Penyebab Kanker Paru-Paru. Jurnal Publikasi Teknik Informatika, 2(2), 88–99. https://doi.org/10.55606/jupti.v2i2.1742
Septhya, D., Rahayu, K., Rabbani, S., Fitria, V., Rahmaddeni, R., Irawan, Y., & Hayami, R. (2023). Implementasi Algoritma Decision Tree dan Support Vector Machine untuk Klasifikasi Penyakit Kanker Paru: Implementation of Decision Tree Algorithm and Support Vector Machine for Lung Cancer Classification. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 3(1), 15–19.
Shujaaddeen, A. A., Ba-Alwi, F. M., Zahary, A. T., & Alhegami, A. S. (2024). A Model for Measuring the Effect of Splitting Data Method on the Efficiency of Machine Learning Models: A Comparative Study. 2024 4th International Conference on Emerging Smart Technologies and Applications (ESmarTA), 1–13.
Sugiharto, S., Putri, R. A., Simanjuntak, S., & Larissa, O. (2021). Kanker Paru, Faktor Risiko Dan Pencegahannya.
Tamási, L., Horvath, K., Kiss, Z., Bogos, K., Ostoros, G., Müller, V., Urbán, L., Bittner, N., Sárosi, V., Vastag, A., & others. (2021). Age and gender specific lung cancer incidence and mortality in Hungary: Trends from 2011 through 2016. Pathology and Oncology Research, 27, 598862.
Unduhan
Diterbitkan
Cara Mengutip
Terbitan
Bagian
Lisensi
Hak Cipta (c) 2025 Florenza Jovana, Imelda Sunario, Wincent Coleus Phan, Ade Maulana

Artikel ini berlisensi Creative Commons Attribution 4.0 International License.



















