From daba7e8a3dedfd31e57afe5e7920cf950a09ab69 Mon Sep 17 00:00:00 2001 From: voetberg Date: Tue, 2 Jul 2024 13:51:07 -0500 Subject: [PATCH 1/2] Template configuration with miniminal included variables --- config.yml.template | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 config.yml.template diff --git a/config.yml.template b/config.yml.template new file mode 100644 index 0000000..8c27a92 --- /dev/null +++ b/config.yml.template @@ -0,0 +1,44 @@ +common: + out_dir: "./DeepDiagnosticsResources/results/" + sim_location: "DeepDiagnosticsResources/simulators" + random_seed: 42 +model: + model_path: ./resources/savedmodels/sbi/sbi_linear_from_data.pkl + model_engine: "SBIModel" +data: + data_path: ./resources/saveddata/data_validation.h5 + data_engine: H5Data + prior: normal + simulator: + simulator_dimensions: 1 +plots_common: + axis_spines: False + tight_layout: True + default_colorway: viridis + plot_style: fast + parameter_labels: + - $m$ + - $b$ + parameter_colors: + - "#9C92A3" + - "#0F5257" + line_style_cycle: + - "-" + - "-." + figure_size: + - 6 + - 6 +metrics_common: + use_progress_bar: True + samples_per_inference: 1000 + percentiles: + - 75 + - 85 + - 95 + number_simulations: 50 +plots: + TARP: {} + Parity: {} + PPC: {} +metrics: + {} \ No newline at end of file From ac37ac25c612463ca4fe9893e7407d2eb5244388 Mon Sep 17 00:00:00 2001 From: voetberg Date: Tue, 2 Jul 2024 13:52:06 -0500 Subject: [PATCH 2/2] Template configuration with miniminal included variables --- config.yml.template | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/config.yml.template b/config.yml.template index 8c27a92..769cbcd 100644 --- a/config.yml.template +++ b/config.yml.template @@ -1,35 +1,18 @@ common: - out_dir: "./DeepDiagnosticsResources/results/" - sim_location: "DeepDiagnosticsResources/simulators" - random_seed: 42 + out_dir: ./DeepDiagnosticsResources/results/ model: model_path: ./resources/savedmodels/sbi/sbi_linear_from_data.pkl - model_engine: "SBIModel" + model_engine: SBIModel data: data_path: ./resources/saveddata/data_validation.h5 data_engine: H5Data - prior: normal simulator: - simulator_dimensions: 1 plots_common: - axis_spines: False - tight_layout: True default_colorway: viridis - plot_style: fast parameter_labels: - $m$ - $b$ - parameter_colors: - - "#9C92A3" - - "#0F5257" - line_style_cycle: - - "-" - - "-." - figure_size: - - 6 - - 6 metrics_common: - use_progress_bar: True samples_per_inference: 1000 percentiles: - 75