Skip to content

Defensive hyperparameters#60

Merged
GernotMaier merged 10 commits into
mainfrom
gh-robustness
May 14, 2026
Merged

Defensive hyperparameters#60
GernotMaier merged 10 commits into
mainfrom
gh-robustness

Conversation

@GernotMaier
Copy link
Copy Markdown
Member

No description provided.

@GernotMaier GernotMaier self-assigned this May 14, 2026
@GernotMaier GernotMaier requested a review from Copilot May 14, 2026 16:35
@GernotMaier GernotMaier marked this pull request as ready for review May 14, 2026 16:35
Copy link
Copy Markdown
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

This PR adjusts classification defaults toward more conservative XGBoost training and expands diagnostic plotting workflows.

Changes:

  • Updates default classification hyperparameters.
  • Adds batch plotting support for training-evaluation curves.
  • Adds optional single-energy-bin plotting for classification performance metrics.

Reviewed changes

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

Show a summary per file
File Description
src/eventdisplay_ml/hyper_parameters.py Updates classification XGBoost defaults.
src/eventdisplay_ml/scripts/plot_training_evaluation.py Adds --model_dir batch mode and output directory handling.
src/eventdisplay_ml/scripts/plot_classification_performance_metrics.py Adds --energy-bin filtering.
README.md Documents training-evaluation batch plotting usage.
docs/changes/60.feature.md Adds a changelog fragment for the hyperparameter update.
Comments suppressed due to low confidence (1)

src/eventdisplay_ml/scripts/plot_training_evaluation.py:137

  • This help string exceeds the repository's configured 100-character line length (see pyproject.toml line 88). Please wrap it to keep the CLI definitions consistent with the rest of the codebase.
        help="Path to save the output plot (PNG/PDF). If not provided, display interactively. Only for single file mode.",

Comment thread README.md
Comment thread docs/changes/60.feature.md Outdated
Comment thread src/eventdisplay_ml/scripts/plot_training_evaluation.py Outdated
Comment thread src/eventdisplay_ml/hyper_parameters.py
Comment thread src/eventdisplay_ml/scripts/plot_training_evaluation.py Outdated
GernotMaier and others added 3 commits May 14, 2026 18:45
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@GernotMaier GernotMaier merged commit 3356625 into main May 14, 2026
2 checks passed
@GernotMaier GernotMaier deleted the gh-robustness branch May 14, 2026 16:54
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