Skip to content

Energy + inelasticity regression#1

Open
sofia-goncalves wants to merge 29 commits into
mainfrom
energy-regression
Open

Energy + inelasticity regression#1
sofia-goncalves wants to merge 29 commits into
mainfrom
energy-regression

Conversation

@sofia-goncalves

@sofia-goncalves sofia-goncalves commented May 27, 2026

Copy link
Copy Markdown

two-stage pipeline for energy and inelasticity regression (ve CC events)

  1. identify nodes belonging to primary em shower
  2. use classifier outputs to regress energy and inelasticity of the event

for context, slides from mphys presentation :
slides-mphys.pdf

tobias-boeckh and others added 29 commits January 29, 2026 15:46
… it, temp fix so I can run training wiht current files
eg huber loss, variable size binning, classification truth labels for upper-bound study.
clarify labelling in eval plots and add history saving function for use by compare_runs notebook
… by upperbound truth label experiment results
…mprovements

- Replace hardcoded 3-stack with nn.ModuleList (n_gravstack arg)
- Add gradient accumulation to both trainers (--accumulation-steps)
- Remove AMP/fp16 from regression trainer
- Save model_config in checkpoint; eval notebook infers config from state_dict
- Add per-class precision/recall/F1 to validation and eval notebook
…likelihood

Model outputs (t1, alpha, beta); softplus enforces alpha/beta > 0 and
alpha/(alpha+beta) is used as the point estimate at inference.
Per-component t1/t2 losses tracked separately in metrics and logs.
- added binary and truth3b upper bound classifiers (train and evaluation scripts)
- added infrastructure for augmenting the regression model with binary probs
    or the embeddings from the classifier
--vertex-dist appends ground-truth distance as extra input feature for upper-bound study
--per-event-weighting to classifier - recompute class weights per batch rather than global ratio
- runs inference w/ classif. + regressor on val set
- checks if failure modes overlap
- produces overlap stats, correlations + comparison plots
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