Logo Lanfrica

JokMaker/african-inflation-regression-app

Domain:

socioeconomic

Record type:

project
Creator:
Jok
Host:
# African Inflation Regression App ## Mission Description Predicting African inflation rates to help policymakers and economists understand economic stability patterns across African countries. This solution analyzes historical economic crises data to forecast inflation trends, enabling better financial planning and policy decisions. ## Dataset Information **Source**: African Economic, Banking and Systemic Crises Data from Kaggle **Description**: Contains 1059 records of African countries' economic indicators from 1860-2014, including inflation rates, banking crises, currency crises, and sovereign debt defaults across 13 African countries. ## Project Structure ``` linear_regression_model/ │ ├── summative/ │ ├── linear_regression/ │ │ ├── multivariate.ipynb # Model building/EDA notebook (Task 1) │ │ ├── african_crises (1).csv # Raw input dataset │ │ ├── best_inflation_model.pkl # Saved Decision Tree model │ │ ├── inflation_scaler.pkl # Saved StandardScaler │ │ ├── inflation_correlation_heatmap.png # Visualization files │ │ ├── inflation_gd_loss_curve.png │ │ └── inflation_true_vs_predicted_scatter.png │ ├── API/ │ │ ├── prediction.py # FastAPI code (Task 2) │ │ └── requirements.txt # Python dependencies │ └── inflation_app/ │ └── (Flutter source code files) # Mobile application (Task 3) │ └── README.md # This file ``` ## Tasks Overview ### Task 1: Machine Learning Model - Data exploration and analysis - Feature engineering and preprocessing - Model training and evaluation - Model persistence and visualization ### Task 2: API Development - FastAPI implementation for model predictions - RESTful endpoints for inflation prediction - Model loading and inference pipeline ### Task 3: Mobile Application - Flutter-based mobile interface - Integration with prediction API - User-frien …