Applied Mathematics and Nonlinear Sciences
Journal license

Journal

Applied Mathematics and Nonlinear Sciences


Volume
& Issue

Volume 7, Issue 1


Published
on

June 24, 2022


Pages

27-42


DOI

Article

Analysis and prediction of second-hand house price based on random forest


Authors

Yan Zhang Affiliation:
School of Computer and Information Engineering, Fuyang Normal University, Fuyang, Anhui 236041, China
, Jingru Huang Affiliation:
School of Computer and Information Engineering, Fuyang Normal University, Fuyang, Anhui 236041, China
, Jiahui Zhang Affiliation:
School of Computer and Information Engineering, Fuyang Normal University, Fuyang, Anhui 236041, China
, Shuying Liu Affiliation:
School of Computer and Information Engineering, Fuyang Normal University, Fuyang, Anhui 236041, China
and Samer Shorman Affiliation:
Department of Computer Science, Applied Science University, Al Eker, Kingdom of Bahrain


Abstract

Using Python language and combined with data analysis and mining technology, the authors capture and clean the housing source data of second-hand houses in Chengdu from Beike Network, and visually analyse the cleaned data. Then, a Random Forest (RF) model is established for 38,363 data elements. According to the visual analysis results, the model variables are revalued, the key factors affecting house prices are studied and the optimised model is used to predict house prices. The experiment shows that the deviation between the house price predicted by the RF model and that predicted by the real house price is small; it also indicates the accuracy of the RF model and demonstrates its good application value.


Keywords

Data Analysis, Second-hand House, Random Forest, Python, Crawler Technology


Citation

Zhang, Y., Huang, J., Zhang, J., Liu, S., & Shorman, S. (2022). Analysis and prediction of second-hand house price based on random forest. Applied Mathematics and Nonlinear Sciences, 7(1), 27–42. https://doi.org/10.2478/amns.2022.1.00052

Published by: Engineering Journals

Engineering Journals Logo