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

Switch to binary classification for PU #402

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

kawaho
Copy link
Contributor

@kawaho kawaho commented Mar 5, 2025

This PR switches PU regression to binary classification, as the majority of particles are either isPU=1 or 0. Focal loss was tried but do not offer any benefits compared to cross entropy. The final output of the PU branch may be tuned for a more optimized threshold for PU identification.

@@ -118,9 +118,6 @@ train_dataset:
cms_pf_qcd:
version: 2.5.0
splits: [1,2,3,4,5,6,7,8,9,10]
cms_pf_ztt:
version: 2.5.0
splits: [1,2,3,4,5,6,7,8,9,10]
Copy link
Owner

Choose a reason for hiding this comment

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

did you intend to remove these?

@jpata
Copy link
Owner

jpata commented Mar 6, 2025

Thanks, looks good! Just had a minor question inline (see above): #402 (comment)

@kawaho
Copy link
Contributor Author

kawaho commented Mar 6, 2025

I think it was simply because we didn't copy the ztt dataset. I reverted it. Thanks.

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.

3 participants