ML & Data · 2026
CO₂ Emissions and Energy Consumption Prediction
Compares eight regression models (R² and error) and serves the best in a dashboard.
Model
- Eight regressors compared side-by-side (linear, ridge, lasso, trees, forests, boosting)
- Uniform train/test protocol across all models
- Best model by R² deployed to the dashboard
Dataset
Country-level CO₂ emissions and energy consumption panel data (year, fuel type, country indicators).
Results & metrics
- Models compared
- 8
- Best R²
- ~0.99
- Output
- comparative dashboard
Deployment steps
- 1Run the eight-model comparison with fixed splits
- 2Rank models by R² and error metrics
- 3Persist the winner + its preprocessing
- 4Deploy the comparison dashboard to Streamlit Cloud
Tech stack
- Scikit-learn
- Regression
- Streamlit