An AI-powered data science project for modeling, forecasting, and visualizing Nigeria's GDP using machine learning algorithms, interactive dashboards, and simulation tools for policy insights and economic planning.
---
title: Streamlit Biogas Analyzer
emoji: 🧪
colorFrom: green
colorTo: yellow
sdk: streamlit
sdk_version: "1.34.0"
app_file: app.py
pinned: false
---
# 🇳🇬 Nigeria Economic Forecasting & Simulation Dashboard (1990–2030)
This project provides a powerful interactive AI-based tool for **forecasting Nigeria’s GDP**, analyzing long-term economic trends, and simulating economic scenarios. It combines **machine learning models**, **interactive visualization**, and **Gradio-based simulation** using economic indicators such as Agriculture to GDP, Industry to GDP, Services to GDP, Inflation, and Government Debt.
---
## 📌 Features
### ✅ Streamlit Web App
- **Dataset Explorer:** Explore Nigeria’s economic data from **1990 to 2030**.
- **Data Visualizations:** Dynamic line charts, bar charts, and pie charts for selected indicators.
- **Forecasting Models:** Train and compare 7 different ML models:
- Random Forest
- XGBoost
- Gradient Boosting
- Extra Trees
- CatBoost
- AdaBoost
- Linear Regression
- **Model Comparison:** View R² score, RMSE, and prediction overlays.
- **PCA Clustering:** Analyze trends and patterns using dimensionality reduction.
- **Year Range Support:** Extendable forecast from historical (1990) to **future projections (2030)**.
### ✅ Gradio Simulation Tool
- Input custom economic values to simulate GDP using a **Random Forest model**.
- Real-time text and graph output.
---
## 🚀 Getting Started
### 1. Clone the Repository
```bash
git clone
github.com
cd your-repo-name
Check out the configuration reference at
huggingface.co