Skip to content

Predicting Residential Rents in Dakar Using Machine Learning

Aug 2026 · 0 citations · 10 references
Computer Science

TL;DR

This study develops a complete machine learning pipeline to predict residential rents in Dakar, from data collection to model interpretation, and highlights several avenues for improvement, including the integration of geospatial features and conformal prediction.

Abstract

Dakar's residential rental market remains poorly documented despite its economic and social importance: 54.4% of households are renters, compared to 23.3% nationally. This study develops a complete machine learning pipeline to predict residential rents in Dakar, from data collection to model interpretation. An original dataset of 1,507 rental listings was built through systematic web scraping and a documented cleaning pipeline, then enriched with four purpose-built features, including a luxury score and a keyword-based quality score. Five models were compared: linear regression, Random Forest (baseline), XGBoost, and LightGBM optimized through Bayesian optimization with Optuna, using leakage-free KFold target encoding for location. The optimized XGBoost model achieved the best performance with an $R^2$ of 0.847, an MAE of 210,902 XOF, and an RMSE of 324,195 XOF. Feature importance was assessed using native XGBoost gain and SHAP values, revealing a substantial difference in the ranking of location, which appears as a minor predictor by gain but as the second most influential variable by SHAP. This result carries methodological implications for hedonic studies using target-encoded categorical variables. This study provides an interpretable benchmark for Dakar's rental market and highlights several avenues for improvement, including the integration of geospatial features and conformal prediction.

View source

Similar papers

Open access Aug 2026

House Price Prediction in Nanjing Based on Machine Learning and SHAP Interpretability

Accurate house price prediction is of great significance for homebuyers, developers, and policymakers, yet the complexity and non-linearity of housing markets pose substantial challenges to traditional linear models. This study addresses the dual goals of high predictive accuracy and high interpretability by systematic...

Zai-Bin Yang, Xinxin Cui · 0 citations
Open access Aug 2026

Estimation of Residential Building Repair Costs Using Selected Machine Learning Algorithms

It is demonstrated that reporting a single global R2 for highly skewed, weakly identifiable cost data can be misleading, and that decomposing predictive performance into band-assignment and within-band regression components provides a more informative evaluation.

Justyna Dzięcioł, G. Wrzesiński · 0 citations
Conference Aug 2026

PropInsight: A Machine Learning and Visual Analytics Framework for Real Estate Price Prediction

Estimating the prices of a homes is a very hard problem because there are so many different factors that an effect it. These factors include the home's location, size, furnishings, floor level, and a luxury grade. Standard valuation techniques that rely on a manual expert evaluation and subjective market comparison oft...

Shresth Srivastav, Priya Mathur, Amit Kumar Gupta · 0 citations
Conference Open access 2026

Machine Learning Approaches to House Price Determinants

This study takes housing prices in Jinan as an example. Data were collected from official government websites and official housing price platforms. The Hadoop platform was used for distributed storage and preprocessing. Linear regression and recurrent neural network (RNN) models were constructed to compare and analyze...

Shi-Yu Dong · 0 citations
Open access Sep 2026

Housing price prediction in Ireland: a machine learning framework integrating geospatial encodings and macroeconomic indicators

This study aims to develop and evaluate a machine learning framework for predicting residential property prices in Ireland using the complete Irish Property Price Register, a population-complete data set of 736,002 arm’s-length transactions spanning January 2010 to March 2026. It formally quantifies the marginal co...

Emmanuel Oluwapelumi Odedele, O. Ajayi · 0 citations
Aug 2026

Comparing hedonic and machine learning models in residential property valuation: evidence from sub-market analysis in Italy

This study aims to compare the predictive performance, robustness and interpretability of traditional hedonic regression and machine learning (ML) models in residential property valuation. While regression-based approaches estimate marginal prices directly, they may be limited in capturing non-linearities and multi...

G. Maselli, Laura Gabrielli, Antonio Nesticò · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.