Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

jameskingsley/nigeria-inflation-2026

Domain:

socioeconomic

Record type:

project
Creator:
jam
Host:
# Nigeria (NG) Inflation Forecasting System (MLOps 2026) An end-to-end MLOps ecosystem designed to forecast Nigerian inflation rates. This project goes beyond simple modeling by implementing an automated "Model Shootout" pipeline that retrains, evaluates, and hot-swaps the best-performing model into production every month. ## System Architecture The project is built on a distributed microservices architecture: * Data Layer: Managed via ClearML Datasets, versioning historical inflation data from the National Bureau of Statistics (NBS). * Orchestration Layer: Prefect 3.0 schedules a monthly training flow. It handles retries, caching, and infrastructure-as-code deployments. * The "Shootout" Logic: Every month, three architectures compete on the latest data: * ARIMA (Statistical): Captures linear auto-regressive trends. * Prophet (Additive): Handles yearly seasonality and economic shocks. * XGBoost (ML): Captures complex non-linear relationships. * Model Registry: ClearML tracks every experiment. The winner (lowest MAE) is auto-tagged as production. * Inference Layer: FastAPI (hosted on Render) pulls the production model and provides a /predict endpoint. * Presentation Layer: A Streamlit dashboard provides real-time visualization for stakeholders. ## Project Structure #### Deployment & Usage ###### Research & EDA View the notebook/eda.ipynb to see the Augmented Dickey-Fuller (ADF) tests, stationarity transformations, and initial model benchmarking. ###### Running the Pipeline To start the automated worker that polls for retraining tasks: ###### API Inference The API supports hot-swapping. When the pipeline finds a new winner, it calls the /refresh endpoint to update the API without downtime. * Endpoint: GET /predict?months=12 * Endpoint: POST /refresh (Internal use) ###### Model Performance The current production model is ARIMA, achieving a Mean Absolute Error (MAE) of 12.85. The system is designed to pivot to Prophet or XGBoost automatically if econom …

Visit

github.com

Similar

jameskingsley/mtn-nigeria-churn-predictionNIGERIA INFLATION RATESrotland/Analysis-General-Inflation-Food-Inflation-in-Nigeria-Tosenrium/nigeria-inflation-analysiszeedOracle/nigeria-inflation-dashboardTheKingSegun/nigeria-inflation-dashboard

jameskingsley/mtn-nigeria-churn-prediction

nd-to-end customer churn prediction and analysis framework using MTN Nigeria's Q1 2025 dataset. Inc

NIGERIA INFLATION RATES

Monthly Inflation Rates and Economic Indicators in Nigeria (2003-2024)

rotland/Analysis-General-Inflation-Food-Inflation-in-Nigeria-

In this project I conducted a correlation analysis using Nigeria historical dataset (2015 – 2024) &

Tosenrium/nigeria-inflation-analysis

End-to-end data science project analyzing Nigeria's historical inflation trends using Python, Pandas

zeedOracle/nigeria-inflation-dashboard

# 🇳🇬 Nigeria Inflation Dashboard An interactive dashboard that visualizes historical Nigerian infla

TheKingSegun/nigeria-inflation-dashboard

Nigeria CPI & inflation analysis using NBS data | Python, Power BI, pandas # Nigeria Inflation Dash