Predicting House Prices Using Machine Learning Models

Authors

  • Tianying Zhao

DOI:

https://doi.org/10.62051/e9x5cc73

Keywords:

House Price Prediction; Machine Learning; Linear Regression; Decision Tree; Random Forest; MSE; R² Score.

Abstract

Predicting house prices is crucial for stakeholders such as buyers, developers, financial institutions, and policymakers. This paper explores how machine learning models can help with house price prediction. Using the Ames Housing Dataset, we compare three models: linear regression, decision tree, and random forest. The goal is to understand which model gives better results in terms of accuracy and how well it works with new data. Data preprocessing, including imputation for missing values, standardization, and feature selection, was performed to ensure compatibility with the models. The models were tested using three common evaluation tools: Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and the R² score. The results show that the random forest model performs the best. It has the lowest error and the highest R² score among the three. This is because random forest uses many decision trees and combines their results, which helps reduce overfitting and improves prediction. The study highlights the potential of machine learning in improving house price prediction accuracy and discusses future avenues for model optimization. These include incorporating real-time data, enhancing model adaptability, and tailoring predictions for specific stakeholder needs. The findings suggest that machine learning models, particularly random forest, can provide valuable insights into housing market trends and support more informed decision-making.

Downloads

Download data is not yet available.

References

[1] Hastie T., Tibshirani R., Friedman J. The Elements of Statistical Learning: Data Mining, Inference, and Prediction. Springer, 2009.

[2] Montgomery D. C., Peck E. A., Vining G. G. Introduction to Linear Regression Analysis. Wiley, 2012.

[3] Chen K., Li H., Wu Y. Predicting housing prices using machine learning: A comparison of tree-based models. Journal of Real Estate Research, 2022, 44 (2): 233-256.

[4] Nguyen H., Pham H., Do T. Comparative analysis of machine learning models for house price prediction. International Journal of Forecasting, 2020, 36 (3): 1010-1025.

[5] Zhou Y., Zhang H., Liu J. An empirical study on housing price prediction using deep learning. Neural Computing and Applications, 2018, 30 (8): 2335-2347.

[6] Breiman L. Random forests. Machine Learning, 2010, 45 (1): 5-32.

[7] Kumar A., Toshniwal D. A novel framework for real estate price prediction using ensemble learning. Expert Systems with Applications, 2020, 159: 113623.

[8] Li L., Wang X., Zhao D. Real estate price prediction based on feature selection and machine learning. IEEE Access, 2019, 7: 132066-132080.

[9] Kumari Sandhya, Sarwar Siddiqui. House Price Prediction Using Machine Learning. Journal For Research in Applied Science and Engineering Technology, 2022, 11 (6): 1970-1873.

[10] A. P. Singh, K. Rastogi and S. Rajpoot. House Price Prediction Using Machine Learning. 3rd International Conference on Advances in Computing, Communication Control and Networking (ICAC3N), 2021, 203-206.

Downloads

Published

10-07-2025

How to Cite

Zhao, T. (2025) “Predicting House Prices Using Machine Learning Models”, Transactions on Computer Science and Intelligent Systems Research, 9, pp. 629–633. doi:10.62051/e9x5cc73.