Machine Learning for House Price Prediction

Authors

  • Zixian Ning

DOI:

https://doi.org/10.54097/jnq11521

Keywords:

Machine learning, house price prediction, artificial intelligence.

Abstract

Housing stands as a core human necessity, and residential property prices—shaped by elements such as local crime levels and air quality—hold great significance for all stakeholders in the real estate sector. A dependable price prediction system plays a key role in supporting well-informed decisions related to property transactions. This research utilized the Boston housing dataset sourced from Kaggle and carried out all-round data preprocessing: it addressed missing or incorrect values, removed outlier data points, applied Z-score normalization to reduce data complexity, and conducted data transformation as part of the data wrangling process. Three machine learning models were evaluated in the study, namely Support Vector Regression (SVR) with a radial basis function kernel, a five-layer Artificial Neural Network (ANN) consisting of three dense layers and two dropout layers, and Extreme Gradient Boosting (XGBoost). Additionally, five-fold cross-validation was employed to select regularization parameters, and principal component analysis was used to enhance model performance. Experimental results revealed that the Artificial Neural Network outperformed the other two models, achieving the highest R-squared value of 0.86, the lowest Mean Squared Error of 0.0046, and the smallest Mean Absolute Error of 0.047. Support Vector Regression also delivered strong performance, with an R-squared of 0.83 and a Mean Squared Error of 0.0054, while XGBoost exhibited relatively higher errors, with a Mean Squared Error of 0.1214.

Downloads

Download data is not yet available.

References

[1] Pandey D, Niwaria K, Chourasia B. Machine learning algorithms: a review. Mach Learn. 2019;6(2).

[2] Fan C, Cui Z, Zhong X. House prices prediction with machine learning algorithms. Proceedings of the 2018 10th International Conference on Machine Learning and Computing (ICMLC 2018). 2018. doi:10.1145/3195106.3195133.

[3] Phan TD. Housing price prediction using machine learning algorithms: the case of Melbourne City, Australia. 2018 International Conference on Machine Learning and Data Engineering (ICMLDE). 2018. doi:10.1109/ICMLDE.2018.00017.

[4] Mu J, Wu F, Zhang A. Housing value forecasting based on machine learning methods. Abstr Appl Anal. 2014; 2014:1–7. doi:10.1155/2014/648047.

[5] Breiman L. Random forests. Mach Learn. 2001; 45:5–32. doi:10.1023/A:1010933404324.

[6] Raschka S, Mirjalili V. Python machine learning: machine learning and deep learning with Python, scikit-learn, and TensorFlow. 2nd ed. Birmingham: Packt Publishing; 2017.

[7] Kaggle. The Boston housing dataset. Available from: https://www.kaggle.com/code/prasadperera/the-boston-housing-dataset [accessed 2025 Sep 11].

[8] Parekh J. House price prediction using linear regression model. Int J Multidiscip Res. 2023.

[9] Karlik B. Development of optimum ANN structures for house price estimation. Int J Comput Appl. 2017; 1:21–32.

[10] Matey V, Chauhan N, Mahale A, Bhistannavar V, Shitole A. Real estate price prediction using supervised learning. In: 2022 IEEE Pune Section International Conference (PuneCon). IEEE; 2022. p. 1–5.

[11] Viana D, Barbosa L. Attention-based spatial interpolation for house price prediction. In: Proceedings of the 29th International Conference on Advances in Geographic Information Systems. Beijing, China; 2021 Nov 2–5. p. 540–9.

Downloads

Published

29-01-2026

Issue

Section

Articles

How to Cite

Ning, Z. (2026). Machine Learning for House Price Prediction. Academic Journal of Science and Technology, 19(2), 84-88. https://doi.org/10.54097/jnq11521