Analysis of K-NN Algorithm and Linear Regression to Predict House Prices in Jabodetabek
DOI:
https://doi.org/10.58905/sana.v2i1.265Keywords:
Jabodetabek, K-Nearest Neighbors (KNN), Multiple Linear Regression, House Prices, AccuracyAbstract
Jabodetabek is now the region with the highest average level of citizen satisfaction, so many people migrate to this region in the hope of getting better living conditions, this will make people who want to buy a house question whether the house they want to buy is good value or not. The purpose of this study is to evaluate the effectiveness of multiple linear regression and K-Nearest Neighbors (KNN) algorithm on a dataset of house prices in Jabodetabek. Better results are obtained by using the Multiple Linear Regression model which has lower Mean Absolute Error (MAE) and Mean Squared Error (MSE) values and a fairly good R-squared of around 48.72%. However, the very high MAE and MSE values of the KNN model indicate inaccuracy and significant prediction variance. Although KNN has a relatively high R-squared value, more research is needed to see if the model can adequately explain data fluctuations. Based on the performance evaluation, multiple linear regression is ultimately a better choice
References
I. Maula, L. U. Hasanah, and A. Tholib, “ANALISIS PREDIKSI HARGA RUMAH DI JABODETABEK MENGGUNAKAN MULTIPLE LINEAR REGRESSION,” Jurnal Informatika Kaputama (JIK), vol. 7, no. 2, pp. 216–224, Jul. 2023, doi: 10.59697/jik.v7i2.135.
A. Saiful, “Prediksi Harga Rumah Menggunakan Web Scrapping dan Machine Learning Dengan Algoritma Linear Regression,” JATISI (Jurnal Teknik Informatika dan Sistem Informasi), vol. 8, no. 1, pp. 41–50, Mar. 2021, doi: 10.35957/jatisi.v8i1.701.
C. Haryanto, N. Rahaningsih, and F. Muhammad Basysyar, “KOMPARASI ALGORITMA MACHINE LEARNING DALAM MEMPREDIKSI HARGA RUMAH,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 7, no. 1, pp. 533–539, Mar. 2023, doi: 10.36040/jati.v7i1.6343.
U. Hayadi Umar and R. D. Putra, “Analisis Kenaikan Harga Properti Residensial Sederhana Untuk Wilayah Kelurahan Belian,” 2020.
ST. H. Kadir, “Analisis Perbandingan Metode Artificial Neural Network, Regresi Linear Berganda Dan Regresi Polinomial Untuk Memprediksi Harga Jual Rumah,” 2020.
K. Muhammad et al., “Analisis Tren Kepemilikan Rumah di Kota Palembang dan Prediksi Harga Rumah memanfaatkan Machine Learning Analysis of Home Ownership Trends in Palembang City and House Price Prediction with Machine Learning,” vol. 8, no. 2, 2023, doi: 10.33772/jpw.v8i2.377.
A. Vermaysha and U. Duta Bangsa Surakarta, “Prediksi Harga Rumah di Kabupaten Karanganyar Menggunakan Metode Regresi Linear Sistem Informasi,” 2023.
A. Bode, “K-NEAREST NEIGHBOR DENGAN FEATURE SELECTION MENGGUNAKAN BACKWARD ELIMINATION UNTUK PREDIKSI HARGA KOMODITI KOPI ARABIKA,” ILKOM Jurnal Ilmiah, vol. 9, no. 2, pp. 188–195, Aug. 2017, doi: 10.33096/ilkom.v9i2.139.188-195.
K. Puteri and A. Silvanie, “MACHINE LEARNING UNTUK MODEL PREDIKSI HARGA SEMBAKO DENGAN METODE REGRESI LINIER BERGANDA 1),” 2020. [Online]. Available: www.data.jakarta.go.id.
E. Fitri, “Analisis Perbandingan Metode Regresi Linier, Random Forest Regression dan Gradient Boosted Trees Regression Method untuk Prediksi Harga Rumah,” Journal of Applied Computer Science and Technology, vol. 4, no. 1, pp. 58–64, Jul. 2023, doi: 10.52158/jacost.v4i1.491.
F. Rozi, M. Bagoes, and S. Junianto, “Penerapan Machine Learning Untuk Prediksi Harga Saham PT.Telekomunikasi Indonesia Tbk Menggunakan Algoritma K-Nearest Neighbors,” Jurnal Informatika MULTI, vol. 1, no. 1, 2023.
Miftahuljannah, Aswan Supriyadi Sunge, and Ahmad Turmudi Zy, “ANALISIS PREDIKSI PENJUALAN DENGAN METODE REGRESI LINEAR DI PT. EAGLE INDUSTRY INDONESIA,” Jurnal Informatika Teknologi dan Sains (Jinteks), vol. 5, no. 3, pp. 398–403, Aug. 2023, doi: 10.51401/jinteks.v5i3.3325.
M. L. Mu’tashim, T. Muhayat, S. A. Damayanti, H. N. Zaki, and R. Wirawan, “Analisis Prediksi Harga Rumah Sesuai Spesifikasi Menggunakan Multiple Linear Regression,” Informatik : Jurnal Ilmu Komputer, vol. 17, no. 3, p. 238, Dec. 2021, doi: 10.52958/iftk.v17i3.3635.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Nadia Putri Ariyanti, Agung Triayudi, Ratih Titi Komala Sari
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.