From 7d14a38dadb4c0af7fca9f7578c6471a5ff8a6a3 Mon Sep 17 00:00:00 2001
From: leufen1 <l.leufen@fz-juelich.de>
Date: Mon, 18 Oct 2021 11:28:08 +0200
Subject: [PATCH] updated parameter names in run scripts

---
 mlair/workflows/default_workflow.py | 1 -
 run.py                              | 2 +-
 run_climate_filter.py               | 6 +++---
 run_mixed_sampling.py               | 2 +-
 4 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/mlair/workflows/default_workflow.py b/mlair/workflows/default_workflow.py
index 5894555a..961979cb 100644
--- a/mlair/workflows/default_workflow.py
+++ b/mlair/workflows/default_workflow.py
@@ -31,7 +31,6 @@ class DefaultWorkflow(Workflow):
                  permute_data_on_training=None, extreme_values=None, extremes_on_right_tail_only=None,
                  transformation=None,
                  train_min_length=None, val_min_length=None, test_min_length=None,
-                 evaluate_bootstraps=None, number_of_bootstraps=None, create_new_bootstraps=None,
                  plot_list=None,
                  model=None,
                  batch_size=None,
diff --git a/run.py b/run.py
index eb703e11..11cc0125 100644
--- a/run.py
+++ b/run.py
@@ -25,7 +25,7 @@ def main(parser_args):
         # stations=["DEBW087","DEBW013", "DEBW107",  "DEBW076"],
         stations=["DEBW013", "DEBW087", "DEBW107", "DEBW076"],
         train_model=False, create_new_model=True, network="UBA",
-        evaluate_bootstraps=False,  # plot_list=["PlotCompetitiveSkillScore"],
+        evaluate_feature_importance=False,  # plot_list=["PlotCompetitiveSkillScore"],
         competitors=["test_model", "test_model2"],
         competitor_path=os.path.join(os.getcwd(), "data", "comp_test"),
         **parser_args.__dict__, start_script=__file__)
diff --git a/run_climate_filter.py b/run_climate_filter.py
index 5577375e..7f3fcbaa 100755
--- a/run_climate_filter.py
+++ b/run_climate_filter.py
@@ -65,9 +65,9 @@ def main(parser_args):
         train_model=False, create_new_model=True,
         epochs=1,
         model=NN,
-        evaluate_bootstraps=False,
-        bootstrap_type=["singleinput", "branch", "variable"],
-        bootstrap_method=["shuffle", "zero_mean"],
+        evaluate_feature_importance=False,
+        feature_importance_bootstrap_type=["singleinput", "branch", "variable"],
+        feature_importance_bootstrap_method=["shuffle", "zero_mean"],
         plot_list=DEFAULT_PLOT_LIST,
         # competitors=["IntelliO3-ts-v1", "MFCN_64_32_16_climFIR", "FCN_1449_512_32_4"],  # "FCN_1449_16_8_4",],
         lazy_preprocessing=True,
diff --git a/run_mixed_sampling.py b/run_mixed_sampling.py
index 819ef511..784f653f 100644
--- a/run_mixed_sampling.py
+++ b/run_mixed_sampling.py
@@ -20,7 +20,7 @@ data_origin = {'o3': '', 'no': '', 'no2': '',
 def main(parser_args):
     args = dict(stations=["DEBW107", "DEBW013"],
                 network="UBA",
-                evaluate_bootstraps=False, plot_list=[],
+                evaluate_feature_importance=False, plot_list=[],
                 data_origin=data_origin, data_handler=DataHandlerMixedSampling,
                 interpolation_limit=(3, 1), overwrite_local_data=False,
                 sampling=("hourly", "daily"),
-- 
GitLab