Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot postfit shapes #102

Merged
merged 10 commits into from
Jan 24, 2025
Merged

Plot postfit shapes #102

merged 10 commits into from
Jan 24, 2025

Conversation

Lara813
Copy link
Collaborator

@Lara813 Lara813 commented Jan 17, 2025

Modified task to plot postfit distributions

hbw/ml/data_loader.py Outdated Show resolved Hide resolved
hbw/tasks/inference.py Outdated Show resolved Hide resolved
hbw/tasks/postfit_plots.py Show resolved Hide resolved
hbw/tasks/inference.py Show resolved Hide resolved
hbw/ml/mixins.py Outdated Show resolved Hide resolved
hbw/ml/data_loader.py Show resolved Hide resolved
@Lara813 Lara813 force-pushed the plot_postfit_shapes branch 2 times, most recently from 932cedb to 296cc98 Compare January 24, 2025 07:23
@Lara813 Lara813 force-pushed the plot_postfit_shapes branch from 296cc98 to 1ff9bb3 Compare January 24, 2025 07:32
hbw/ml/data_loader.py Outdated Show resolved Hide resolved
@@ -165,6 +165,11 @@ def _cumulated_crossenropy_from_logits(y_true, y_pred, axis):
return ((numerator - denominator) / tf.math.reduce_sum(y_true, axis=axis))[:, 0]


@tf.function
def categorical_crossentropy():
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you get rid of this function?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

deleted

hbw/tasks/inference.py Outdated Show resolved Hide resolved
hbw/plotting/plot_fits.py Outdated Show resolved Hide resolved
hbw/tasks/postfit_plots.py Outdated Show resolved Hide resolved
hbw/tasks/postfit_plots.py Outdated Show resolved Hide resolved
hbw/tasks/postfit_plots.py Outdated Show resolved Hide resolved
hbw/tasks/postfit_plots.py Outdated Show resolved Hide resolved
hbw/tasks/postfit_plots.py Outdated Show resolved Hide resolved
hbw/tasks/postfit_plots.py Outdated Show resolved Hide resolved
@Lara813 Lara813 force-pushed the plot_postfit_shapes branch from 92eb762 to 7641039 Compare January 24, 2025 13:42
Copy link
Collaborator

@mafrahm mafrahm left a comment

Choose a reason for hiding this comment

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

feini

@mafrahm mafrahm merged commit 36f9e2d into dev Jan 24, 2025
4 checks passed
@mafrahm mafrahm deleted the plot_postfit_shapes branch January 24, 2025 14:13
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