How satyam-ptl/co2-emission-prediction-using-ml works
This is a reproducible research package for forecasting monthly facility-level CO₂ emissions at Indian cement plants. The main workflow audits and prepares Climate TRACE data, selects features and models on a validation window, evaluates forecasts on hold-out and rolling-origin periods, then analyzes robustness and forecast errors. A companion stage checks results against an official cement production index and builds size-stratified conformal intervals; figures and manuscript materials present the results. Some pipeline internals are unsampled, so edges are limited to relationships shown in excerpts or README statements.
Main entry points: stage1_pipeline.py Forecast evaluation · tables Result tables · modeling_dataset_step1.csv Climate TRACE data · stage1b_external_and_intervals.py External validity
Components 19
Forecast analysis
- Audit and features
code/stage1_pipeline.py - Window selection
code/stage1_pipeline.py - Model comparison
code/stage1_pipeline.py - Forecast evaluation
code/stage1_pipeline.py - Robustness analysis
code/stage1_pipeline.py - Error and horizons
code/stage1_pipeline.py - Feature importance
code/stage1_pipeline.py - Result tables
results/tables - Forecast predictions
results/preds
External checks
- External validity
code/stage1b_external_and_intervals.py - Conformal intervals
code/stage1b_external_and_intervals.py
Results presentation
- Research figures
code/stage2_figures.py - Figure outputs
results/figures - Manuscript content
code/build_spec.py - Document renderer
code/render_docx.js - Manuscript document
Other components
- Climate TRACE data
data/modeling_dataset_step1.csv - Official cement index
data/T13_external_ICI_cement_PIB.csv - Researcher
Connections 24
- Researcher → Climate TRACE data: provides data
README.md - Climate TRACE data → Audit and features: loads and prepares
README.md - Audit and features → Window selection: builds windows
code/stage1_pipeline.py - Window selection → Model comparison: selects features
code/stage1_pipeline.py - Model comparison → Forecast evaluation: fits and predicts
code/stage1_pipeline.py - Forecast evaluation → Forecast predictions: writes forecasts
code/stage1_pipeline.py - Forecast evaluation → Result tables: writes metrics
code/stage1_pipeline.py - Forecast evaluation → Robustness analysis: tests performance
code/stage1_pipeline.py - Forecast evaluation → Error and horizons: analyzes errors
code/stage1_pipeline.py - Forecast evaluation → Feature importance: measures importance
code/stage1_pipeline.py - Feature importance → Result tables: writes results
code/stage1_pipeline.py - Researcher → Official cement index: provides index
README.md - Climate TRACE data → External validity: compares emissions
code/stage1b_external_and_intervals.py - Official cement index → External validity: checks against index
README.md - External validity → Result tables: writes comparison
code/stage1b_external_and_intervals.py - Climate TRACE data → Conformal intervals: supplies forecast data
code/stage1b_external_and_intervals.py - Conformal intervals → Result tables: writes intervals
code/stage1b_external_and_intervals.py - Climate TRACE data → Research figures: loads observations
code/stage2_figures.py - Result tables → Research figures: reads analysis results
code/stage2_figures.py - Research figures → Figure outputs: saves figures
code/stage2_figures.py - Result tables → Manuscript content: supplies manuscript results
code/build_spec.py - Figure outputs → Manuscript content: embeds figures
README.md - Manuscript content → Document renderer: provides document content
README.md - Document renderer → Manuscript document: renders document
code/render_docx.js