-
Notifications
You must be signed in to change notification settings - Fork 9
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
Ml combine proc #96
Conversation
3b4da29
to
e06606a
Compare
id=randint(10000000, 99999999), | ||
# TODO: random number (could by chance be a already used number --> should be checked) |
There was a problem hiding this comment.
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)) |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
Co-authored-by: Mathis Frahm <49306645+mafrahm@users.noreply.github.com>
Co-authored-by: Mathis Frahm <49306645+mafrahm@users.noreply.github.com>
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