a linear regression model predicting African countries' aquaculture import and exports annually.
# Aquaculture Trade Prediction System
A machine learning-powered App for predicting annual aquaculture import and export volumes for African countries.
## Mission
My mission is to empower African fisheries and aquaculture stakeholders with accessible data-driven insights by providing a friendly tool that predicts import and export trade volumes annually.
My goal is to simplify decision-making through machine learning while promoting transparency and planning in regional aquaculture trade.
## Live Demo
π₯ **YouTube Demo**: Watch the 5-minute demo
π **Public API**:
aquaculture-import-export-pβ¦
Test the API using the Swagger UI interface at the link above.
## Project Overview
This project implements a complete end-to-end solution for predicting aquaculture trade volumes using:
- **Machine Learning**: Linear Regression, Decision Trees, and Random Forest models
- **API**: FastAPI backend with data validation and CORS support
- **Mobile App**: Flutter application for user-friendly predictions
## Dataset
- **Source**: Global Fisheries & Aquaculture Department
- **Focus**: African countries' aquaculture trade data
- **Commodities**: Fish, Crustaceans
- **Time Period**: 2000-2015 (historical data)
- **Predictions**: 2000-2050
## Project Structure
```
linear_regression_model/
β
βββ summative/
β βββ linear_regression/
β β βββ multivariate.ipynb # Main ML notebook
β β
β βββ API/
β β βββ prediction.py # FastAPI application
β β βββ requirements.txt # Python dependencies
β β βββ best_model.pkl # Saved ML model
β β βββ scaler.pkl # Feature scaler
β β βββ country_encoder.pkl # Country label encoder
β β βββ commodity_encoder.pkl # Commodity label encoder
β β βββ model_metadata.pkl # Model information
β β
β βββ FlutterApp/
β βββ lib/
β β βββ main.dart # Flutter application
β βββ pubsp β¦