GreenCircuit is an end‑to‑end Python and Machine Learning pipeline that simulates waste generation, recycling logistics, and climate impact across SMEs in Kenya and Nigeria. It includes a full PostgreSQL backend, synthetic data generation, climate KPI computation, and an ML model for predicting climate impact.
# -GreenCircuit-Waste-Management-System-
GreenCircuit is an end‑to‑end Python and Machine Learning pipeline that simulates waste generation, recycling logistics, and climate impact across SMEs in Kenya and Nigeria. It includes a full PostgreSQL backend, synthetic data generation, climate KPI computation, and an ML model for predicting climate impact.
🌍 GreenCircuit — End‑to‑End Climate Impact Prediction Pipeline
A Python + SQL + Machine Learning project for waste intelligence, climate analytics, and operational optimization.
📌 Overview
GreenCircuit is a full end‑to‑end data engineering and machine learning pipeline designed to simulate, analyze, and predict climate impact from SME waste generation in Kenya and Nigeria.
The project builds a realistic backend data infrastructure, generates synthetic but geographically accurate datasets, computes climate KPIs, and supports ML‑based climate impact prediction.
This project demonstrates:
Backend schema design using PostgreSQL + SQLAlchemy
Large‑scale synthetic data generation using Faker + custom logic
Waste intelligence modeling inspired by World Bank waste composition patterns
Climate KPI computation (diversion, emissions avoided, net climate impact)
ML‑ready dataset creation for downstream modeling
A complete Python‑based analytics and prediction pipeline
🧱 Project Architecture
1. Data Infrastructure & Backend Schema
A relational schema was designed to support waste tracking, recycling, logistics, and climate metrics.
Core tables include:
smes — SME profiles, locations, waste generation
waste_types & waste_subcategories — WB‑style waste taxonomy
waste_listings — granular waste events with toxicity, pH, CO₂ offsets
recyclers — recycler capabilities, capacity, efficiency
logistics_partners — transport partners, vehicles, costs
pickups — trip‑level logistics, fuel, emissions, completion
climate_metrics — listing‑level climate KPIs
regulators, toxicity_rules, handling_guidelines — compliance logic
All tabl …