Skip to content

Feat/model pipeline#7

Merged
dawidlinek merged 8 commits into
mainfrom
feat/model-pipeline
Dec 29, 2025
Merged

Feat/model pipeline#7
dawidlinek merged 8 commits into
mainfrom
feat/model-pipeline

Conversation

@dawidlinek

Copy link
Copy Markdown
Owner

@copilot review and write summary

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements a comprehensive model pipeline feature for running multiple forecasting models, evaluating their performance, and exporting results. The implementation includes an evaluation framework with metrics, exporters for terminal and Excel output, and a pipeline orchestrator.

Key Changes:

  • Added ModelPipeline class for orchestrating model training and evaluation
  • Implemented evaluation framework with pluggable Evaluator interface and MAE metric
  • Created EvaluationReport for aggregating and analyzing results by hour, horizon, and year
  • Added Terminal and Excel exporters with conditional formatting support
  • Updated dependencies to include openpyxl for Excel export and scikit-learn

Reviewed changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
uv.lock Updated Python version requirement from 3.14 to 3.10, added openpyxl, scikit-learn with platform-specific wheels
pyproject.toml Added openpyxl>=3.1.0 dependency
epftoolbox2/evaluators/base.py Base abstract class for metric evaluators
epftoolbox2/evaluators/mae.py MAE (Mean Absolute Error) evaluator implementation
epftoolbox2/exporters/base.py Base abstract class for result exporters
epftoolbox2/exporters/terminal.py Rich terminal table exporter with configurable views
epftoolbox2/exporters/excel.py Excel exporter with pivot tables and color-coded heatmaps
epftoolbox2/results/report.py Evaluation report aggregator with multiple grouping dimensions
epftoolbox2/pipelines/model_pipeline.py Pipeline orchestrator for running models and generating reports
tests/test_evaluation.py Unit tests for MAEEvaluator and EvaluationReport

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread epftoolbox2/results/report.py
Comment thread tests/test_evaluation.py
Comment thread epftoolbox2/exporters/excel.py
Comment thread epftoolbox2/exporters/excel.py
Comment thread epftoolbox2/pipelines/model_pipeline.py
Comment thread tests/test_evaluation.py
@dawidlinek
dawidlinek merged commit e250307 into main Dec 29, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants