House price prediction in Ajah, Lagos using a random forest regression model

Authors

  • Ayodeji Obaude Achievers University Owo
  • Ezekiel Oyekanmi Achievers University Owo
  • Adegboyega Adegboye Achievers University Owo
  • Oluwaseyi Abe Achievers University Owo

DOI:

https://doi.org/10.32890/jcia2026.5.2.5

Keywords:

House price, machine learning, predictive modeling, random forest, real estate

Abstract

Housing is one of the most essential need to commoner but several factors contribute to acquiring a suitable home,  factor such as low income, high material cost and most importantly the presence of middleman in acquiring suitable house posed significant challenges thereby increases the cost, this study addresses this problem by developing a random forest regressor model to predict house price in Ajah Lagos, a dataset of 24,326 instances was sourced from Kaggle and filtered to 2142 instance containing Ajah listing. The data underwent several preprocessing steps; outliers were detected using the interquartile range, and Recursive Feature Elimination was used to identify relevant features that contribute to the model while eliminating less important ones. The RF model demonstrates a robust performance with an R-squared of 68.5%, a Mean Absolute Percentage Error of 18.96%, and a Root Mean Squared Error of ₦11.1 million. Compared with existing models in the literature, the model achieved a mean absolute error of ₦8.09 million, representing a 4.82% improvement and outperforming the ridge regression models. This research contributes to the field by providing stakeholders with a data-driven tool to enhance transparency and investment decision-making in the Nigerian real estate market.

References

Aanda Consulting. (2025, March 3). Real estate in Lagos: AI adoption – Revolutionizing the property market. Aanda. https://www.aanda.com.ng/ai-adoption-in-lagos-real-estate-revolutionizing-the-property-market/

Anewuoh, F., Gyadu-Asiedu, W., & Appiadu-Boakye, K. (2023). The real estate market in Ghana: The driving factors and housing prices. International Journal of Technology and Management Research, 8(1), 36–55. https://doi.org/10.47127/ijtmr.v8i1.162

Awe, F. C., Adeboye, A. B., Akinluyi, M. L., Okeke, F. O., Yakubu, S. U., & Awe, F. D. (2023). Assessment of the relationship between housing quality and income in the urbanizing city of Ado-Ekiti, Nigeria. World Journal of Advanced Research and Reviews, 18(2), 969–978. : https://doi.org/10.30574/wjarr.2023.18.2.0941

Başara, A. C., & Sisman, Y. (2022). Importance analysis of criteria affecting house selection using the analytic hierarchy process. Advanced Land Management, 2(1), 29–39.

Bons, O., Onochie, A., & Nzewi, N. (2019). Where is home for the urban poor in Abuja, Nigeria? International Journal of Trend in Research and Development, 3(1), 45–56.

Candas, E., Kalkan, S. B., & Yomralioglu, T. (2015, May 17–21). Determining the factors affecting housing prices [Paper presentation]. FIG Working Week 2015, Sofia, Bulgaria.

Guyer, J. I. (2015). Housing as “capital.” HAU: Journal of Ethnographic Theory, 5(1), 24–28. https://doi.org/10.14318/hau5.1.024

Henilane, I. (2016). Housing concept and analysis of housing classification. Baltic Journal of Real Estate Economics and Construction Management, 4(1), 168–179. https://doi.org/10.1515/bjreecm-2016-0013

Jiboye, A. D. (2014). Significance of house-type as a determinant of residential quality in Osogbo, Southwest Nigeria. Frontiers of Architectural Research, 3(1), 20–27. https://doi.org/10.1016/j.foar.2013.11.006

Kamal, E. M., Hassan, H., & Osmadi, A. (2016). Factors influencing the housing price: Developers’ perspective. International Journal of Social, Behavioral, Educational, Economic, Business and Industrial Engineering, 10(5), 1676–1682.

LandMall Technology. (2025). The rise of AI-powered “land value forecasting” in real estate. LandMall.ng. https://www.landmall.ng/blog/rise-ai-powered-land-value-forecasting-real-estate

Liao, J. (2024). House price prediction using machine learning: A case study in Seattle, U.S. Applied and Computational Engineering, 32(1), 259–269. https://doi.org/10.54254/2755-2721/32/20230222

Manganelli, B., & Tajani, F. (2015). Macroeconomic variables and real estate in Italy and the USA. Scienze Regionali, 14(2), 25–46. https://doi.org/10.3280/SCRE2015-003002

Nichols, J. A., Chan, H. W. H., & Baker, M. A. B. (2019). Machine learning: Applications of artificial intelligence to imaging and diagnosis. Biophysical Reviews, 11(1), 111–118. https://doi.org/10.1007/s12551-018-0449-9

Nwankwo, M. P., Onyeizu, M., Asogwa, E. C., & Chukwuogo, O. E. (2023). Prediction of house prices in Lagos, Nigeria, using machine learning models. European Journal of Theoretical and Applied Sciences, 1(5), 313–326. https://doi.org/10.59324/ejtas.2023.1(5).22

Oladokun, S. O., & Mooya, M. M. (2024). Another look at data challenges in property valuation practice: A case of the Lagos property market. Journal of Property Investment & Finance, 42(4), 325–347. https://doi.org/10.1108/JPIF-07-2023-0069

Oloke, O., Olawale, Y. A., & Oni, A. S. (2017). Price determination for residential properties in Lagos State, Nigeria: The principal-agent dilemma. International Journal of Property Studies, 6(3), 28–32.

Owusu-Ansah, A., Anim-Odame, W. K., & Azasu, S. (2021). Examination of the dynamics of house prices in urban Ghana. African Geographical Review, 40(1), 76–91. https://doi.org/10.1080/19376812.2020.1761844

Stirling, P., Gallent, N., & Purves, A. (2022). The assetisation of housing: A macroeconomic resource. European Urban and Regional Studies, 30(1), 3–20. https://doi.org/10.1177/09697764221111979

Truong, Q., Nguyen, M., Dang, H., & Mei, B. (2020). Housing price prediction via improved machine learning techniques. Procedia Computer Science, 174, 433–442. https://doi.org/10.1016/j.procs.2020.06.111

Wickramaarachchi, N. C. (2016). Determinants of rental value for residential properties: A landowner’s perspective on boarding homes. Built-Environment Sri Lanka, 12(1), 10–24. https://doi.org/10.4038/besl.v12i1.7613

Downloads

Published

31-07-2026

How to Cite

Obaude, A., Oyekanmi, E., Adegboye, A., & Abe, O. (2026). House price prediction in Ajah, Lagos using a random forest regression model. Journal of Computational Innovation and Analytics (JCIA), 5(2), 86-101. https://doi.org/10.32890/jcia2026.5.2.5

Research impact

Harvested 2026-08-29
0 citations recorded so far

Counts differ between services because each indexes a different body of literature. None of them is the whole picture.

Identifiers DOI 10.32890/jcia2026.5.2.5 OpenAlex W7171857385

Similar Articles

1-10 of 27

You may also start an advanced similarity search for this article.