Energy + inelasticity regression#1
Open
sofia-goncalves wants to merge 29 commits into
Open
Conversation
… it, temp fix so I can run training wiht current files
…y); variance-weighted loss
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
two-stage pipeline for energy and inelasticity regression (ve CC events)
for context, slides from mphys presentation :
slides-mphys.pdf