From d89315a1d7a6b6f5ea9e4305e1bf75481a0f7a03 Mon Sep 17 00:00:00 2001 From: Mikael Mieskolainen Date: Sun, 20 Oct 2024 12:43:14 +0100 Subject: [PATCH] add comments --- configs/brem/models.yml | 5 +++-- configs/brem/models_reweight.yml | 4 ++-- configs/brk/models.yml | 5 +++-- configs/dqcd/models.yml | 4 ++-- configs/eid/models.yml | 5 +++-- configs/hgcal/models_cnd.yml | 4 ++-- configs/hgcal/models_trk.yml | 4 ++-- configs/hnl/models.yml | 4 ++-- configs/trg/models.yml | 4 ++-- configs/zee/models.yml | 4 ++-- 10 files changed, 23 insertions(+), 20 deletions(-) diff --git a/configs/brem/models.yml b/configs/brem/models.yml index 1237799f..f17ad299 100644 --- a/configs/brem/models.yml +++ b/configs/brem/models.yml @@ -9,11 +9,12 @@ EVAL_PARAM: &EVAL_PARAM eval_batch_size: 1024 # Post-training evaluation - readmode: -1 # -1 finds the best loss model, -2 takes the last epoch model - readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... + readmode: -1 # specific epoch (int), -1 finds the best loss model, -2 takes the last epoch model + readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... [currently only 'loss'] readmode_operator: 'argmin' # + # XGBoost # https://xgboost.readthedocs.io/en/latest/parameter.html xgb0: diff --git a/configs/brem/models_reweight.yml b/configs/brem/models_reweight.yml index 840c1bd1..097f692a 100644 --- a/configs/brem/models_reweight.yml +++ b/configs/brem/models_reweight.yml @@ -8,8 +8,8 @@ EVAL_PARAM: &EVAL_PARAM eval_batch_size: 1024 # Post-training evaluation - readmode: -1 # -1 finds the best loss model, -2 takes the last epoch model - readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... + readmode: -1 # specific epoch (int), -1 finds the best loss model, -2 takes the last epoch model + readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... [currently only 'loss'] readmode_operator: 'argmin' # diff --git a/configs/brk/models.yml b/configs/brk/models.yml index 8d7b78c5..4070eaa6 100644 --- a/configs/brk/models.yml +++ b/configs/brk/models.yml @@ -8,10 +8,11 @@ EVAL_PARAM: &EVAL_PARAM eval_batch_size: 1024 # Post-training evaluation - readmode: -1 # -1 finds the best loss model, -2 takes the last epoch model - readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... + readmode: -1 # specific epoch (int), -1 finds the best loss model, -2 takes the last epoch model + readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... [currently only 'loss'] readmode_operator: 'argmin' # + ## Classifier setup # XGBoost diff --git a/configs/dqcd/models.yml b/configs/dqcd/models.yml index bc4b5929..e0131518 100644 --- a/configs/dqcd/models.yml +++ b/configs/dqcd/models.yml @@ -12,8 +12,8 @@ EVAL_PARAM: &EVAL_PARAM eval_batch_size: 1024 # Post-training evaluation - readmode: -1 # -1 finds the best loss model, -2 takes the last epoch model - readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... + readmode: -1 # specific epoch (int), -1 finds the best loss model, -2 takes the last epoch model + readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... [currently only 'loss'] readmode_operator: 'argmin' # diff --git a/configs/eid/models.yml b/configs/eid/models.yml index 4f674bc8..460d9c26 100644 --- a/configs/eid/models.yml +++ b/configs/eid/models.yml @@ -8,10 +8,11 @@ EVAL_PARAM: &EVAL_PARAM eval_batch_size: 1024 # Post-training evaluation - readmode: -1 # -1 finds the best loss model, -2 takes the last epoch model - readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... + readmode: -1 # specific epoch (int), -1 finds the best loss model, -2 takes the last epoch model + readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... [currently only 'loss'] readmode_operator: 'argmin' # + # - Keep the minibatch size small enough, otherwise weak convergence to optima with some models # Reference BDT (pre-computed in ROOT files) diff --git a/configs/hgcal/models_cnd.yml b/configs/hgcal/models_cnd.yml index 2a06463d..4aa7afa8 100644 --- a/configs/hgcal/models_cnd.yml +++ b/configs/hgcal/models_cnd.yml @@ -8,8 +8,8 @@ EVAL_PARAM: &EVAL_PARAM eval_batch_size: 1024 # Post-training evaluation - readmode: -1 # -1 finds the best loss model, -2 takes the last epoch model - readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... + readmode: -1 # specific epoch (int), -1 finds the best loss model, -2 takes the last epoch model + readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... [currently only 'loss'] readmode_operator: 'argmin' # diff --git a/configs/hgcal/models_trk.yml b/configs/hgcal/models_trk.yml index 3c75bc97..50db8321 100644 --- a/configs/hgcal/models_trk.yml +++ b/configs/hgcal/models_trk.yml @@ -8,8 +8,8 @@ EVAL_PARAM: &EVAL_PARAM eval_batch_size: 1024 # Post-training evaluation - readmode: -1 # -1 finds the best loss model, -2 takes the last epoch model - readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... + readmode: -1 # specific epoch (int), -1 finds the best loss model, -2 takes the last epoch model + readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... [currently only 'loss'] readmode_operator: 'argmin' # diff --git a/configs/hnl/models.yml b/configs/hnl/models.yml index 74fbcab0..94d32871 100644 --- a/configs/hnl/models.yml +++ b/configs/hnl/models.yml @@ -8,8 +8,8 @@ EVAL_PARAM: &EVAL_PARAM eval_batch_size: 4096 # Post-training evaluation - readmode: -1 # -1 finds the best loss model, -2 takes the last epoch model - readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... + readmode: -1 # specific epoch (int), -1 finds the best loss model, -2 takes the last epoch model + readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... [currently only 'loss'] readmode_operator: 'argmin' # diff --git a/configs/trg/models.yml b/configs/trg/models.yml index 319b605b..e7be546f 100644 --- a/configs/trg/models.yml +++ b/configs/trg/models.yml @@ -8,8 +8,8 @@ EVAL_PARAM: &EVAL_PARAM eval_batch_size: 1024 # Post-training evaluation - readmode: -1 # -1 finds the best loss model, -2 takes the last epoch model - readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... + readmode: -1 # specific epoch (int), -1 finds the best loss model, -2 takes the last epoch model + readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... [currently only 'loss'] readmode_operator: 'argmin' # diff --git a/configs/zee/models.yml b/configs/zee/models.yml index 06c5e16e..842d8cd8 100644 --- a/configs/zee/models.yml +++ b/configs/zee/models.yml @@ -8,8 +8,8 @@ EVAL_PARAM: &EVAL_PARAM eval_batch_size: 4096 # Post-training evaluation - readmode: -1 # -1 finds the best loss model, -2 takes the last epoch model - readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... + readmode: -1 # specific epoch (int), -1 finds the best loss model, -2 takes the last epoch model + readmode_metric: 'loss' # e.g. 'loss', 'AUC' ... [currently only 'loss'] readmode_operator: 'argmin' #