arXiv:2608.30865cs.AIAug 2026

Manuscript Offprint

arXiv:2608.30865

Predicting Residential Rents in Dakar Using Machine Learning

Amadou Tidiane Kassa Diallo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

1. Introduction

Dakar’s residential rental market is a particularly relevant field of study for analyzing the mechanisms of rent formation. Despite its economic and social importance, this market remains relatively under-documented from a quantitative standpoint. The Dakar region had 4,004,426 inhabitants in 2023 according to the Agence nationale de la statistique et de la démographie (ANSD). It thus concentrates a significant share of Senegal’s population within a relatively small territory. This high demographic concentration is accompanied by strong housing demand and a particularly developed rental market. According to ANSD data, 54.4% of households in Dakar are renters, compared to 23.3% nationwide.

In this context, understanding and evaluating rents represents an important issue for households, landlords, real estate professionals, and public authorities. However, Dakar's rental market remains characterized by relatively fragmented information. The prices available on real estate platforms mainly correspond to asking prices rather than actually negotiated prices. Information on completed transactions also remains difficult to access. This situation can create an information asymmetry between the various market participants and make it difficult to objectively assess the rental value of a property.

This issue can be studied through the hedonic pricing theory proposed by Rosen in 1974. According to this approach, the price of a real estate asset implicitly depends on its various characteristics, such as surface area, location, number of bedrooms, and amenities. This theory has for several decades constituted an important reference in the economic analysis of real estate markets and has been widely used in econometric models designed to explain variations in housing prices.

Machine learning has progressively complemented these traditional approaches by making it possible to model nonlinear relationships and complex interactions between housing characteristics. Random forests in particular have shown their value for real estate price prediction. Gradient boosting methods such as XGBoost and LightGBM have subsequently made it possible to achieve high performance on tabular data. Several studies have thus demonstrated the value of these methods for real estate price prediction, particularly in contexts where the relationships between housing characteristics and their prices are difficult to represent with linear models.

The literature devoted to African real estate markets nevertheless remains relatively fragmented. Studies based on the hedonic approach have notably been conducted in Lagos, with the work of Abidoye in 2018, and in Kampala, with that of Irumba in 2015. Approaches based on machine learning have also been applied more recently to various African real estate markets.

As in the short-term rental sector, the 2025 study by Samb devoted to the Greater Banjul region constitutes a particularly relevant reference for the West African context. This study compares several tree-based machine learning models and uses SHAP values to interpret model predictions. This approach provides an interesting methodological framework for analyzing the determinants of real estate prices in a regional context close to that of Dakar.

Despite these advances, Dakar’s long-term residential rental market remains little studied using interpretable machine learning methods. To our knowledge, no study has so far proposed a systematic analysis combining rent prediction, model optimization, SHAP interpretability, and uncertainty quantification based on a corpus of Dakar real estate listings.

This article aims to address this gap by developing a complete pipeline for collecting, preparing, modeling, and interpreting real estate data. The objective is not only to obtain a first dataset on rentals in Dakar, but also to identify the main determinants of prices and to assess the uncertainty associated with the predictions.

The main contributions of this study are as follows

  • The construction of an original dataset of 1,507 rental listings in Dakar, obtained through systematic scraping and subjected to a documented cleaning and normalization pipeline

  • The optimization of the XGBoost and LightGBM models through Bayesian search with Optuna, in order to identify the configurations offering the best predictive performance

  • A comparative analysis of feature importance based on XGBoost gain and SHAP values, in order to study the main determinants of rents

  • A quantification of predictive uncertainty via quantile regression, allowing predictions to be complemented with prediction intervals and their calibration to be assessed

This approach thus aims to combine predictive performance, interpretability, and uncertainty quantification, while taking into account the specificities and limitations of the data available on Dakar's residential rental market.