How vignesh12398/ecoinsight works
CarbonAI is a Streamlit sustainability app with two user-facing workflows: estimating monthly carbon emissions from lifestyle inputs and classifying uploaded waste images. Users can submit classification feedback, which is reviewable in an admin dashboard. A separate documented training workflow prepares carbon-emission data and trains the regression model. The graph preserves these stages and model artifacts; implementation details for unsampled app sections and the waste-classifier training notebook are based on README descriptions, not inspected source.
Main entry points: app.py Streamlit app · feature_engineering.py Feature encoding · carbon_model.pkl Emission model · encoders.pkl Feature encoders
Components 15
User experience
- Streamlit app
app.py - Footprint calculator
app.py - Feedback capture
app.py - Feedback dashboard
app.py - Feedback log
Carbon prediction
- Emission model
model/carbon_model.pkl - Feature encoders
model/encoders.pkl
Waste classification
- Waste classifier
model/mobilenet_finetuned_best.keras
Carbon model training
- Raw emissions data
data/Carbon Emission.csv - Data cleaning
preprocessing.py - Cleaned dataset
data/CleanedDataset.csv - Feature encoding
feature_engineering.py - Encoded dataset
data/ProcessedDataset.csv - Model training
train_model.py
Other components
- User
Connections 19
- User → Streamlit app: uses
README.md - Streamlit app → Footprint calculator: offers
README.md - Streamlit app → Waste classifier: loads model
app.py - Streamlit app → Emission model: loads model
app.py - Streamlit app → Feature encoders: loads encoders
app.py - Footprint calculator → Emission model: predicts with
README.md - Footprint calculator → Feature encoders: encodes inputs
README.md - User → Streamlit app: uploads image
README.md - Streamlit app → Waste classifier: classifies image
README.md - User → Feedback capture: rates prediction
README.md - Feedback capture → Feedback log: writes
app.py - Feedback dashboard → Feedback log: reviews
README.md - Raw emissions data → Data cleaning: read by
preprocessing.py - Data cleaning → Cleaned dataset: writes
preprocessing.py - Cleaned dataset → Feature encoding: read by
feature_engineering.py - Feature encoding → Encoded dataset: writes
feature_engineering.py - Encoded dataset → Model training: read by
train_model.py - Model training → Emission model: saves model
README.md - Feature encoding → Feature encoders: saves encoders
feature_engineering.py