Skip to content
#reinforcement learning Dataset Open access

Regime-Aware Reinforcement Learning for Inflation Forecast Combination in Sub-Saharan Africa

Sep 2026 · Figshare

Abstract

This repository contains the complete data, code, trained models, intermediate outputs, robustness checks, and figures supporting the manuscript “Regime-Aware Reinforcement Learning for Inflation Forecast Combination in Sub-Saharan Africa.” The empirical dataset covers eight Sub-Saharan African economies—Côte d’Ivoire, Ghana, Kenya, Nigeria, Senegal, Tanzania, Uganda, and South Africa—from 1972 to 2024. The dataset includes inflation measures and key macroeconomic variables together with their lagged values.The repository provides the full Python analysis pipeline used to reproduce the empirical results, including pooled OLS, fixed-effects regression, Elastic Net, Random Forest, XGBoost, country-specific Markov-switching regime estimation, and the regime-aware Q-learning forecast-combination framework. The final reinforcement-learning configuration uses country-specific regime probabilities, an absolute-error reward function, temperature parameter τ = 2.0, learning rate α = 0.5, discount factor γ = 0.3, exploration rate ε = 0.15, and 400 training episodes.Also included are saved model objects, the final Q-table and metadata, country-level regime probabilities, out-of-sample predictions, model comparison results, multi-seed stability tests, regime/reward ablation analyses, and hyperparameter-sensitivity results. The repository further contains all figures used to document model performance, feature importance, regime dynamics, reinforcement-learning choices, Q-table structure, and robustness analyses.The files are intended to support transparency, verification, replication, and extension of the study. The main executable file is 01_rl_regime_pipeline.py, while ssa_panel_macro_dataset.csv contains the principal analysis dataset and FINAL_test_results.csv reports the final out-of-sample performance of all benchmark and ensemble forecasting models

View source

Similar papers

#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54
#machine learning Review Open access Jun 2014

Why Early-Stage Software Startups Fail: A Behavioral Framework

This state-of-practice investigation was performed using a literature review followed by a multiple-case study approach and presents how inconsistency between managerial strategies and execution can lead to failure by means of a behavioral framework.

Carmine Giardino, Xiaofeng Wang, P. Abrahamsson · 175 citations · ⚡19
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#machine learning Review Open access May 2016

Key Challenges in Software Startups Across Life Cycle Stages

It is found that what perceived as biggest challenges by software startups do vary across different life cycle stages, even though its significance decreases when the learning focuses of the startups move from problem to solution and their products mature.

Xiaofeng Wang, Henry Edison, Sohaib Shahid Bajwa et al. · 62 citations · ⚡6

Related blog posts

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