khushal-grover2005/LCA_predictor
0
๐ AI-Driven Life Cycle Assessment (LCA) & Circularity Predictor
This repository houses the Inference Engine for an AI-powered platform designed to predict the environmental impact and circularity of metallurgical processes. Developed as part of a 14-day sprint, this system utilizes machine learning to transform complex industrial data into actionable sustainability insights.
๐ Key Features
- Dual-Target Prediction: Predicts Global Warming Potential (GWP) and Circularity Index simultaneously.
- Sankey Diagram Logic: Generates source-target-value JSON flows to visualize carbon footprints from extraction to finished products.
- Automated ML Pipeline: Includes modular components for Data Ingestion, Transformation (OHE, Log Scaling, Outlier Handling), and Model Training.
- RESTful API: Flask-based backend ready for integration with React/Next.js frontends.
๐ ๏ธ Tech Stack
- Language: Python 3.9
- ML Frameworks: Scikit-Learn, XGBoost, CatBoost
- API: Flask & Flask-CORS
- DevOps: Docker, Hugging Face Spaces
- Data Handling: Pandas, NumPy, Dill
๐ Project Structure
LCAPredictor/
โโโ artifacts/ # Saved model pickles and preprocessor
โโโ data/ # Raw and processed datasets
โโโ src/
โ โโโ components/ # Data Ingestion, Transformation, Model Trainer
โ โโโ pipeline/ # Training and Prediction Pipelines
โ โโโ logger.py # Custom logging module
โ โโโ exception.py # Custom exception handling
โโโ app.py # Flask API entry point
โโโ Dockerfile # Container configuration
โโโ requirements.txt # Project dependencies