From ef577861c1e35a457e2665ebad4f0a9a35696af5 Mon Sep 17 00:00:00 2001 From: lukas leufen <l.leufen@fz-juelich.de> Date: Fri, 19 Jun 2020 14:45:32 +0200 Subject: [PATCH] include model param in the new run script --- src/run.py | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/src/run.py b/src/run.py index 705c6125..ac1d27b8 100644 --- a/src/run.py +++ b/src/run.py @@ -5,26 +5,27 @@ import inspect def run(stations=['DEBW107', 'DEBY081', 'DEBW013', 'DEBW076', 'DEBW087', 'DEBW001'], - station_type='background', - trainable=False, create_new_model=True, - window_history_size=6, - experiment_date="testrun", - network=None, - variables=None, statistics_per_var=None, - start=None, end=None, - target_var="o3", target_dim=None, - window_lead_time=None, - dimensions=None, - interpolate_method=None, interpolate_dim=None, limit_nan_fill=None, - train_start=None, train_end=None, val_start=None, val_end=None, test_start=None, test_end=None, - use_all_stations_on_all_data_sets=True, fraction_of_train=None, - experiment_path=None, plot_path=None, forecast_path=None, bootstrap_path=None, overwrite_local_data=None, - sampling="daily", - permute_data_on_training=False, 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=True, number_of_bootstraps=None, create_new_bootstraps=False, - plot_list=None): + station_type='background', + trainable=False, create_new_model=True, + window_history_size=6, + experiment_date="testrun", + network=None, + variables=None, statistics_per_var=None, + start=None, end=None, + target_var="o3", target_dim=None, + window_lead_time=None, + dimensions=None, + interpolate_method=None, interpolate_dim=None, limit_nan_fill=None, + train_start=None, train_end=None, val_start=None, val_end=None, test_start=None, test_end=None, + use_all_stations_on_all_data_sets=True, fraction_of_train=None, + experiment_path=None, plot_path=None, forecast_path=None, bootstrap_path=None, overwrite_local_data=None, + sampling="daily", + permute_data_on_training=False, 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=True, number_of_bootstraps=None, create_new_bootstraps=False, + plot_list=None, + model=None): params = inspect.getfullargspec(ExperimentSetup).args kwargs = {k: v for k, v in locals().items() if k in params} -- GitLab