Skip to content

Conversation

@GernotMaier
Copy link
Member

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds optional energy-binned SHAP feature-importance reporting and refactors how extra columns are appended during training-data loading.

Changes:

  • Add shap_feature_importance_by_energy() utility (currently commented out in the main regression evaluation path).
  • Refactor load_training_data() to append analysis-specific columns via pd.concat from a new_cols dict.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/eventdisplay_ml/evaluate.py Introduces an energy-binned SHAP importance helper and wires it as an optional (commented) call site.
src/eventdisplay_ml/data_processing.py Changes how MCxoff/MCyoff/MCe0 (or ze_bin) are added to the flattened training DataFrame.

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

GernotMaier and others added 4 commits January 30, 2026 15:17
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@GernotMaier GernotMaier merged commit 79522c7 into main Jan 30, 2026
2 checks passed
@GernotMaier GernotMaier deleted the panda-perf branch January 30, 2026 14:25
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