File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,8 @@ def get_parser() -> argparse.ArgumentParser:
4545 "--baselines" ,
4646 nargs = "+" ,
4747 help = "baseline or list of baselines. The baselines are also hpam-tuned and compared to the "
48- "models, but no randomization or robustness tests are run." ,
48+ "models, but no randomization or robustness tests are run. NaiveMeanEffectsPredictor is always run"
49+ "as it is required for evaluation" ,
4950 )
5051 parser .add_argument (
5152 "--test_mode" ,
@@ -302,6 +303,11 @@ def main(args) -> None:
302303 baselines = [MODEL_FACTORY [baseline ] for baseline in args .baselines ]
303304 else :
304305 baselines = []
306+
307+ # NaiveMeanEffectsPredictor is always run as it is needed for evaluation
308+ if "NaiveMeanEffectsPredictor" not in args .baselines :
309+ baselines .append (MODEL_FACTORY ["NaiveMeanEffectsPredictor" ])
310+
305311 # TODO Allow for custom randomization tests maybe via config file
306312
307313 if args .randomization_mode [0 ] == "None" :
You can’t perform that action at this time.
0 commit comments