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

Ml combine proc #96

Merged
merged 5 commits into from
Dec 11, 2024
Merged

Ml combine proc #96

merged 5 commits into from
Dec 11, 2024

Conversation

Lara813
Copy link
Collaborator

@Lara813 Lara813 commented Dec 9, 2024

Added the possibility to combine processes for ML Training and additionally define the desired weighting approach. Also modified stats accordingly.
Additionally introduced two ML and Inference models that combine GGF and VBF signal with both weighting approaches

Comment on lines +216 to +217
id=randint(10000000, 99999999),
# TODO: random number (could by chance be a already used number --> should be checked)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think the bigger problem might be that this number changes every time we re-run this code. We could create some reproducible id via some hash function, similar as it is done here: https://github.com/columnflow/columnflow/blob/master/columnflow/config_util.py#L328


combining_proc = []
for proc in proc_dict.sub_processes:
combining_proc.append(config.get_process(proc, default=None))
Copy link
Collaborator

Choose a reason for hiding this comment

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

what happens when we cannot find the corresponding process (adding None)?

law.cfg Outdated
@@ -56,7 +56,7 @@ slurm_flavor: $CF_SLURM_FLAVOR
slurm_partition: $CF_SLURM_PARTITION

# ChunkedIOHandler defaults
chunked_io_chunk_size: 100000
chunked_io_chunk_size: 50000
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 remove the changes in this file?

Lara813 and others added 2 commits December 10, 2024 13:26
Co-authored-by: Mathis Frahm <49306645+mafrahm@users.noreply.github.com>
Co-authored-by: Mathis Frahm <49306645+mafrahm@users.noreply.github.com>
@mafrahm mafrahm merged commit 4b437be into dev Dec 11, 2024
2 of 4 checks passed
@mafrahm mafrahm deleted the ML_combine_proc branch January 17, 2025 09: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