diff --git a/main/.buildinfo b/main/.buildinfo index 1775772d..889e9df2 100644 --- a/main/.buildinfo +++ b/main/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 5f5cc67e9884aa53630cf60444ed0069 +config: 8d78f535a22bbb27fa5c9ca499c12f4a tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/main/.doctrees/api/deepcave.evaluators.ablation.doctree b/main/.doctrees/api/deepcave.evaluators.ablation.doctree index d4d3d58c..446c24a9 100644 Binary files a/main/.doctrees/api/deepcave.evaluators.ablation.doctree and b/main/.doctrees/api/deepcave.evaluators.ablation.doctree differ diff --git a/main/.doctrees/api/deepcave.evaluators.doctree b/main/.doctrees/api/deepcave.evaluators.doctree index 103c1904..c0918fe5 100644 Binary files a/main/.doctrees/api/deepcave.evaluators.doctree and b/main/.doctrees/api/deepcave.evaluators.doctree differ diff --git a/main/.doctrees/api/deepcave.evaluators.epm.doctree b/main/.doctrees/api/deepcave.evaluators.epm.doctree index 079e3824..f94bcc40 100644 Binary files a/main/.doctrees/api/deepcave.evaluators.epm.doctree and b/main/.doctrees/api/deepcave.evaluators.epm.doctree differ diff --git a/main/.doctrees/api/deepcave.evaluators.epm.fanova_forest.doctree b/main/.doctrees/api/deepcave.evaluators.epm.fanova_forest.doctree index d612a302..415695de 100644 Binary files a/main/.doctrees/api/deepcave.evaluators.epm.fanova_forest.doctree and b/main/.doctrees/api/deepcave.evaluators.epm.fanova_forest.doctree differ diff --git a/main/.doctrees/api/deepcave.evaluators.epm.random_forest.doctree b/main/.doctrees/api/deepcave.evaluators.epm.random_forest.doctree index ef039d0f..1ae8c0f0 100644 Binary files a/main/.doctrees/api/deepcave.evaluators.epm.random_forest.doctree and b/main/.doctrees/api/deepcave.evaluators.epm.random_forest.doctree differ diff --git a/main/.doctrees/api/deepcave.evaluators.epm.random_forest_surrogate.doctree b/main/.doctrees/api/deepcave.evaluators.epm.random_forest_surrogate.doctree index 662b2de0..e7b4c1b4 100644 Binary files a/main/.doctrees/api/deepcave.evaluators.epm.random_forest_surrogate.doctree and b/main/.doctrees/api/deepcave.evaluators.epm.random_forest_surrogate.doctree differ diff --git a/main/.doctrees/api/deepcave.evaluators.epm.utils.doctree b/main/.doctrees/api/deepcave.evaluators.epm.utils.doctree index c413ad57..b905ff3a 100644 Binary files a/main/.doctrees/api/deepcave.evaluators.epm.utils.doctree and b/main/.doctrees/api/deepcave.evaluators.epm.utils.doctree differ diff --git a/main/.doctrees/api/deepcave.evaluators.fanova.doctree b/main/.doctrees/api/deepcave.evaluators.fanova.doctree index 26ab967c..4dd1ef8b 100644 Binary files a/main/.doctrees/api/deepcave.evaluators.fanova.doctree and b/main/.doctrees/api/deepcave.evaluators.fanova.doctree differ diff --git a/main/.doctrees/api/deepcave.evaluators.footprint.doctree b/main/.doctrees/api/deepcave.evaluators.footprint.doctree index c9e2390c..b048ec33 100644 Binary files a/main/.doctrees/api/deepcave.evaluators.footprint.doctree and b/main/.doctrees/api/deepcave.evaluators.footprint.doctree differ diff --git a/main/.doctrees/api/deepcave.evaluators.lpi.doctree b/main/.doctrees/api/deepcave.evaluators.lpi.doctree index c4999c79..c9acc524 100644 Binary files a/main/.doctrees/api/deepcave.evaluators.lpi.doctree and b/main/.doctrees/api/deepcave.evaluators.lpi.doctree differ diff --git a/main/.doctrees/api/deepcave.evaluators.mo_ablation.doctree b/main/.doctrees/api/deepcave.evaluators.mo_ablation.doctree index ce1b505c..056c72e7 100644 Binary files a/main/.doctrees/api/deepcave.evaluators.mo_ablation.doctree and b/main/.doctrees/api/deepcave.evaluators.mo_ablation.doctree differ diff --git a/main/.doctrees/api/deepcave.evaluators.mo_fanova.doctree b/main/.doctrees/api/deepcave.evaluators.mo_fanova.doctree index 6d97064e..346a5c11 100644 Binary files a/main/.doctrees/api/deepcave.evaluators.mo_fanova.doctree and b/main/.doctrees/api/deepcave.evaluators.mo_fanova.doctree differ diff --git a/main/.doctrees/api/deepcave.evaluators.mo_lpi.doctree b/main/.doctrees/api/deepcave.evaluators.mo_lpi.doctree index fccea4d9..bed1974a 100644 Binary files a/main/.doctrees/api/deepcave.evaluators.mo_lpi.doctree and b/main/.doctrees/api/deepcave.evaluators.mo_lpi.doctree differ diff --git a/main/.doctrees/api/deepcave.layouts.doctree b/main/.doctrees/api/deepcave.layouts.doctree index 4455f087..34e93314 100644 Binary files a/main/.doctrees/api/deepcave.layouts.doctree and b/main/.doctrees/api/deepcave.layouts.doctree differ diff --git a/main/.doctrees/api/deepcave.layouts.header.doctree b/main/.doctrees/api/deepcave.layouts.header.doctree index c52104fc..effd16f3 100644 Binary files a/main/.doctrees/api/deepcave.layouts.header.doctree and b/main/.doctrees/api/deepcave.layouts.header.doctree differ diff --git a/main/.doctrees/api/deepcave.layouts.not_found.doctree b/main/.doctrees/api/deepcave.layouts.not_found.doctree index 2a8d62df..cbed60bb 100644 Binary files a/main/.doctrees/api/deepcave.layouts.not_found.doctree and b/main/.doctrees/api/deepcave.layouts.not_found.doctree differ diff --git a/main/.doctrees/api/deepcave.layouts.sidebar.doctree b/main/.doctrees/api/deepcave.layouts.sidebar.doctree index 8c646348..e25f1b6c 100644 Binary files a/main/.doctrees/api/deepcave.layouts.sidebar.doctree and b/main/.doctrees/api/deepcave.layouts.sidebar.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.budget.doctree b/main/.doctrees/api/deepcave.plugins.budget.doctree index a6c4cbef..caf34859 100644 Binary files a/main/.doctrees/api/deepcave.plugins.budget.doctree and b/main/.doctrees/api/deepcave.plugins.budget.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.doctree b/main/.doctrees/api/deepcave.plugins.doctree index ef905a6b..33eafb19 100644 Binary files a/main/.doctrees/api/deepcave.plugins.doctree and b/main/.doctrees/api/deepcave.plugins.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.dynamic.doctree b/main/.doctrees/api/deepcave.plugins.dynamic.doctree index caf41f9d..7662df23 100644 Binary files a/main/.doctrees/api/deepcave.plugins.dynamic.doctree and b/main/.doctrees/api/deepcave.plugins.dynamic.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.hyperparameter.ablation_paths.doctree b/main/.doctrees/api/deepcave.plugins.hyperparameter.ablation_paths.doctree index 8fcd1c6d..b0a9a329 100644 Binary files a/main/.doctrees/api/deepcave.plugins.hyperparameter.ablation_paths.doctree and b/main/.doctrees/api/deepcave.plugins.hyperparameter.ablation_paths.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.hyperparameter.configuration_cube.doctree b/main/.doctrees/api/deepcave.plugins.hyperparameter.configuration_cube.doctree index 6cbb6bb1..b971cd56 100644 Binary files a/main/.doctrees/api/deepcave.plugins.hyperparameter.configuration_cube.doctree and b/main/.doctrees/api/deepcave.plugins.hyperparameter.configuration_cube.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.hyperparameter.doctree b/main/.doctrees/api/deepcave.plugins.hyperparameter.doctree index 371d05fd..a46a8df4 100644 Binary files a/main/.doctrees/api/deepcave.plugins.hyperparameter.doctree and b/main/.doctrees/api/deepcave.plugins.hyperparameter.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.hyperparameter.importances.doctree b/main/.doctrees/api/deepcave.plugins.hyperparameter.importances.doctree index d061c777..c1cf3260 100644 Binary files a/main/.doctrees/api/deepcave.plugins.hyperparameter.importances.doctree and b/main/.doctrees/api/deepcave.plugins.hyperparameter.importances.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.hyperparameter.parallel_coordinates.doctree b/main/.doctrees/api/deepcave.plugins.hyperparameter.parallel_coordinates.doctree index 91d44ca9..029a8dfa 100644 Binary files a/main/.doctrees/api/deepcave.plugins.hyperparameter.parallel_coordinates.doctree and b/main/.doctrees/api/deepcave.plugins.hyperparameter.parallel_coordinates.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.hyperparameter.pdp.doctree b/main/.doctrees/api/deepcave.plugins.hyperparameter.pdp.doctree index 0d2a542d..aa304010 100644 Binary files a/main/.doctrees/api/deepcave.plugins.hyperparameter.pdp.doctree and b/main/.doctrees/api/deepcave.plugins.hyperparameter.pdp.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.hyperparameter.symbolic_explanations.doctree b/main/.doctrees/api/deepcave.plugins.hyperparameter.symbolic_explanations.doctree index 4a80e466..35339670 100644 Binary files a/main/.doctrees/api/deepcave.plugins.hyperparameter.symbolic_explanations.doctree and b/main/.doctrees/api/deepcave.plugins.hyperparameter.symbolic_explanations.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.objective.doctree b/main/.doctrees/api/deepcave.plugins.objective.doctree index 1b2056bb..e5787227 100644 Binary files a/main/.doctrees/api/deepcave.plugins.objective.doctree and b/main/.doctrees/api/deepcave.plugins.objective.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.static.doctree b/main/.doctrees/api/deepcave.plugins.static.doctree index cd2562c7..8861fce4 100644 Binary files a/main/.doctrees/api/deepcave.plugins.static.doctree and b/main/.doctrees/api/deepcave.plugins.static.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.summary.configurations.doctree b/main/.doctrees/api/deepcave.plugins.summary.configurations.doctree index b2d39ee5..a5f6bea5 100644 Binary files a/main/.doctrees/api/deepcave.plugins.summary.configurations.doctree and b/main/.doctrees/api/deepcave.plugins.summary.configurations.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.summary.doctree b/main/.doctrees/api/deepcave.plugins.summary.doctree index 2bd71547..d0c4224e 100644 Binary files a/main/.doctrees/api/deepcave.plugins.summary.doctree and b/main/.doctrees/api/deepcave.plugins.summary.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.summary.footprint.doctree b/main/.doctrees/api/deepcave.plugins.summary.footprint.doctree index b582f0ec..b45102dd 100644 Binary files a/main/.doctrees/api/deepcave.plugins.summary.footprint.doctree and b/main/.doctrees/api/deepcave.plugins.summary.footprint.doctree differ diff --git a/main/.doctrees/api/deepcave.plugins.summary.overview.doctree b/main/.doctrees/api/deepcave.plugins.summary.overview.doctree index 13a3f218..9f2b8924 100644 Binary files a/main/.doctrees/api/deepcave.plugins.summary.overview.doctree and b/main/.doctrees/api/deepcave.plugins.summary.overview.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.converters.amltk.doctree b/main/.doctrees/api/deepcave.runs.converters.amltk.doctree index 631d635e..574693e2 100644 Binary files a/main/.doctrees/api/deepcave.runs.converters.amltk.doctree and b/main/.doctrees/api/deepcave.runs.converters.amltk.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.converters.bohb.doctree b/main/.doctrees/api/deepcave.runs.converters.bohb.doctree index 97c960d7..7438666b 100644 Binary files a/main/.doctrees/api/deepcave.runs.converters.bohb.doctree and b/main/.doctrees/api/deepcave.runs.converters.bohb.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.converters.dataframe.doctree b/main/.doctrees/api/deepcave.runs.converters.dataframe.doctree index 877496d1..fa7ef911 100644 Binary files a/main/.doctrees/api/deepcave.runs.converters.dataframe.doctree and b/main/.doctrees/api/deepcave.runs.converters.dataframe.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.converters.deepcave.doctree b/main/.doctrees/api/deepcave.runs.converters.deepcave.doctree index bf27da9c..11377323 100644 Binary files a/main/.doctrees/api/deepcave.runs.converters.deepcave.doctree and b/main/.doctrees/api/deepcave.runs.converters.deepcave.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.converters.doctree b/main/.doctrees/api/deepcave.runs.converters.doctree index 34e5232b..e9080a79 100644 Binary files a/main/.doctrees/api/deepcave.runs.converters.doctree and b/main/.doctrees/api/deepcave.runs.converters.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.converters.optuna.doctree b/main/.doctrees/api/deepcave.runs.converters.optuna.doctree index acd69a5b..4e850927 100644 Binary files a/main/.doctrees/api/deepcave.runs.converters.optuna.doctree and b/main/.doctrees/api/deepcave.runs.converters.optuna.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.converters.smac3v1.doctree b/main/.doctrees/api/deepcave.runs.converters.smac3v1.doctree index 081b8eef..ca1743b5 100644 Binary files a/main/.doctrees/api/deepcave.runs.converters.smac3v1.doctree and b/main/.doctrees/api/deepcave.runs.converters.smac3v1.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.converters.smac3v2.doctree b/main/.doctrees/api/deepcave.runs.converters.smac3v2.doctree index 30912b94..752a96a0 100644 Binary files a/main/.doctrees/api/deepcave.runs.converters.smac3v2.doctree and b/main/.doctrees/api/deepcave.runs.converters.smac3v2.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.doctree b/main/.doctrees/api/deepcave.runs.doctree index c9aceb9c..f887e74f 100644 Binary files a/main/.doctrees/api/deepcave.runs.doctree and b/main/.doctrees/api/deepcave.runs.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.exceptions.doctree b/main/.doctrees/api/deepcave.runs.exceptions.doctree index 724f5dbf..cb2340dc 100644 Binary files a/main/.doctrees/api/deepcave.runs.exceptions.doctree and b/main/.doctrees/api/deepcave.runs.exceptions.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.group.doctree b/main/.doctrees/api/deepcave.runs.group.doctree index f3254bc4..01cd5ba7 100644 Binary files a/main/.doctrees/api/deepcave.runs.group.doctree and b/main/.doctrees/api/deepcave.runs.group.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.handler.doctree b/main/.doctrees/api/deepcave.runs.handler.doctree index 6c977374..e5b387cc 100644 Binary files a/main/.doctrees/api/deepcave.runs.handler.doctree and b/main/.doctrees/api/deepcave.runs.handler.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.objective.doctree b/main/.doctrees/api/deepcave.runs.objective.doctree index 64df3d77..41aebf62 100644 Binary files a/main/.doctrees/api/deepcave.runs.objective.doctree and b/main/.doctrees/api/deepcave.runs.objective.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.recorder.doctree b/main/.doctrees/api/deepcave.runs.recorder.doctree index 60f5cfcc..49c202d7 100644 Binary files a/main/.doctrees/api/deepcave.runs.recorder.doctree and b/main/.doctrees/api/deepcave.runs.recorder.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.run.doctree b/main/.doctrees/api/deepcave.runs.run.doctree index d7fae50e..4367c9e2 100644 Binary files a/main/.doctrees/api/deepcave.runs.run.doctree and b/main/.doctrees/api/deepcave.runs.run.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.status.doctree b/main/.doctrees/api/deepcave.runs.status.doctree index 74f3f543..2690c712 100644 Binary files a/main/.doctrees/api/deepcave.runs.status.doctree and b/main/.doctrees/api/deepcave.runs.status.doctree differ diff --git a/main/.doctrees/api/deepcave.runs.trial.doctree b/main/.doctrees/api/deepcave.runs.trial.doctree index 05307257..9011b16a 100644 Binary files a/main/.doctrees/api/deepcave.runs.trial.doctree and b/main/.doctrees/api/deepcave.runs.trial.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.cache.doctree b/main/.doctrees/api/deepcave.utils.cache.doctree index 6b3bfce7..19a16912 100644 Binary files a/main/.doctrees/api/deepcave.utils.cache.doctree and b/main/.doctrees/api/deepcave.utils.cache.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.cast.doctree b/main/.doctrees/api/deepcave.utils.cast.doctree index db75bb87..a203fcd5 100644 Binary files a/main/.doctrees/api/deepcave.utils.cast.doctree and b/main/.doctrees/api/deepcave.utils.cast.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.compression.doctree b/main/.doctrees/api/deepcave.utils.compression.doctree index 9458699b..9ee428a5 100644 Binary files a/main/.doctrees/api/deepcave.utils.compression.doctree and b/main/.doctrees/api/deepcave.utils.compression.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.configs.doctree b/main/.doctrees/api/deepcave.utils.configs.doctree index 19a0411d..8c57de11 100644 Binary files a/main/.doctrees/api/deepcave.utils.configs.doctree and b/main/.doctrees/api/deepcave.utils.configs.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.configspace.doctree b/main/.doctrees/api/deepcave.utils.configspace.doctree index f0248bc7..f31ef7ac 100644 Binary files a/main/.doctrees/api/deepcave.utils.configspace.doctree and b/main/.doctrees/api/deepcave.utils.configspace.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.converters.doctree b/main/.doctrees/api/deepcave.utils.converters.doctree index 08cefd28..d7351778 100644 Binary files a/main/.doctrees/api/deepcave.utils.converters.doctree and b/main/.doctrees/api/deepcave.utils.converters.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.dash.doctree b/main/.doctrees/api/deepcave.utils.dash.doctree index 736962f3..b173256a 100644 Binary files a/main/.doctrees/api/deepcave.utils.dash.doctree and b/main/.doctrees/api/deepcave.utils.dash.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.data_structures.doctree b/main/.doctrees/api/deepcave.utils.data_structures.doctree index 539d4a08..bf178e32 100644 Binary files a/main/.doctrees/api/deepcave.utils.data_structures.doctree and b/main/.doctrees/api/deepcave.utils.data_structures.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.docs.doctree b/main/.doctrees/api/deepcave.utils.docs.doctree index b717160f..21346efc 100644 Binary files a/main/.doctrees/api/deepcave.utils.docs.doctree and b/main/.doctrees/api/deepcave.utils.docs.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.doctree b/main/.doctrees/api/deepcave.utils.doctree index f1cf8439..cccab44d 100644 Binary files a/main/.doctrees/api/deepcave.utils.doctree and b/main/.doctrees/api/deepcave.utils.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.files.doctree b/main/.doctrees/api/deepcave.utils.files.doctree index 202d367e..e4d7b204 100644 Binary files a/main/.doctrees/api/deepcave.utils.files.doctree and b/main/.doctrees/api/deepcave.utils.files.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.hash.doctree b/main/.doctrees/api/deepcave.utils.hash.doctree index 66c6961c..e4ba1884 100644 Binary files a/main/.doctrees/api/deepcave.utils.hash.doctree and b/main/.doctrees/api/deepcave.utils.hash.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.layout.doctree b/main/.doctrees/api/deepcave.utils.layout.doctree index 3e449b34..c339361d 100644 Binary files a/main/.doctrees/api/deepcave.utils.layout.doctree and b/main/.doctrees/api/deepcave.utils.layout.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.logs.doctree b/main/.doctrees/api/deepcave.utils.logs.doctree index 0b5e341d..06410189 100644 Binary files a/main/.doctrees/api/deepcave.utils.logs.doctree and b/main/.doctrees/api/deepcave.utils.logs.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.multi_objective_importance.doctree b/main/.doctrees/api/deepcave.utils.multi_objective_importance.doctree index 069b0541..92b068ec 100644 Binary files a/main/.doctrees/api/deepcave.utils.multi_objective_importance.doctree and b/main/.doctrees/api/deepcave.utils.multi_objective_importance.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.notification.doctree b/main/.doctrees/api/deepcave.utils.notification.doctree index 22e29ff2..8e269b75 100644 Binary files a/main/.doctrees/api/deepcave.utils.notification.doctree and b/main/.doctrees/api/deepcave.utils.notification.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.run_caches.doctree b/main/.doctrees/api/deepcave.utils.run_caches.doctree index 5b1c40e0..b7c613f4 100644 Binary files a/main/.doctrees/api/deepcave.utils.run_caches.doctree and b/main/.doctrees/api/deepcave.utils.run_caches.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.styled_plotty.doctree b/main/.doctrees/api/deepcave.utils.styled_plotty.doctree index 7e9f2d6f..e8fd3967 100644 Binary files a/main/.doctrees/api/deepcave.utils.styled_plotty.doctree and b/main/.doctrees/api/deepcave.utils.styled_plotty.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.symbolic_regression.doctree b/main/.doctrees/api/deepcave.utils.symbolic_regression.doctree index ca73e20a..a89a8f64 100644 Binary files a/main/.doctrees/api/deepcave.utils.symbolic_regression.doctree and b/main/.doctrees/api/deepcave.utils.symbolic_regression.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.url.doctree b/main/.doctrees/api/deepcave.utils.url.doctree index 6745d494..95c55382 100644 Binary files a/main/.doctrees/api/deepcave.utils.url.doctree and b/main/.doctrees/api/deepcave.utils.url.doctree differ diff --git a/main/.doctrees/api/deepcave.utils.util.doctree b/main/.doctrees/api/deepcave.utils.util.doctree index a84598f6..5a1192ab 100644 Binary files a/main/.doctrees/api/deepcave.utils.util.doctree and b/main/.doctrees/api/deepcave.utils.util.doctree differ diff --git a/main/.doctrees/converters/bohb.doctree b/main/.doctrees/converters/bohb.doctree index adaa8704..cd69be09 100644 Binary files a/main/.doctrees/converters/bohb.doctree and b/main/.doctrees/converters/bohb.doctree differ diff --git a/main/.doctrees/converters/custom_converters.doctree b/main/.doctrees/converters/custom_converters.doctree index f45c06c5..6679dc0c 100644 Binary files a/main/.doctrees/converters/custom_converters.doctree and b/main/.doctrees/converters/custom_converters.doctree differ diff --git a/main/.doctrees/converters/deepcave.doctree b/main/.doctrees/converters/deepcave.doctree index 42ba483b..6ee7304b 100644 Binary files a/main/.doctrees/converters/deepcave.doctree and b/main/.doctrees/converters/deepcave.doctree differ diff --git a/main/.doctrees/converters/optuna.doctree b/main/.doctrees/converters/optuna.doctree index ec4c7049..49175580 100644 Binary files a/main/.doctrees/converters/optuna.doctree and b/main/.doctrees/converters/optuna.doctree differ diff --git a/main/.doctrees/converters/smac.doctree b/main/.doctrees/converters/smac.doctree index 1eb48f7a..b2cc1ae4 100644 Binary files a/main/.doctrees/converters/smac.doctree and b/main/.doctrees/converters/smac.doctree differ diff --git a/main/.doctrees/environment.pickle b/main/.doctrees/environment.pickle index deff7291..a8000902 100644 Binary files a/main/.doctrees/environment.pickle and b/main/.doctrees/environment.pickle differ diff --git a/main/.doctrees/installation.doctree b/main/.doctrees/installation.doctree index 0169adef..bba11b64 100644 Binary files a/main/.doctrees/installation.doctree and b/main/.doctrees/installation.doctree differ diff --git a/main/.doctrees/plugins/ablation_paths.doctree b/main/.doctrees/plugins/ablation_paths.doctree index 7aa5c3d2..0b70daba 100644 Binary files a/main/.doctrees/plugins/ablation_paths.doctree and b/main/.doctrees/plugins/ablation_paths.doctree differ diff --git a/main/_downloads/21f8798a167ba643492208cc67bd1e22/minimal.zip b/main/_downloads/21f8798a167ba643492208cc67bd1e22/minimal.zip index eb9cb23f..1a72e48f 100644 Binary files a/main/_downloads/21f8798a167ba643492208cc67bd1e22/minimal.zip and b/main/_downloads/21f8798a167ba643492208cc67bd1e22/minimal.zip differ diff --git a/main/_downloads/3ad6dd54379f5c5277b43384ae072aa5/ablation_paths.zip b/main/_downloads/3ad6dd54379f5c5277b43384ae072aa5/ablation_paths.zip index 3b5d130a..bc940b16 100644 Binary files a/main/_downloads/3ad6dd54379f5c5277b43384ae072aa5/ablation_paths.zip and b/main/_downloads/3ad6dd54379f5c5277b43384ae072aa5/ablation_paths.zip differ diff --git a/main/_downloads/40821b6c90aa18945a4ed76124057823/minimal.ipynb b/main/_downloads/40821b6c90aa18945a4ed76124057823/minimal.ipynb index fe0a8f13..23580b04 100644 --- a/main/_downloads/40821b6c90aa18945a4ed76124057823/minimal.ipynb +++ b/main/_downloads/40821b6c90aa18945a4ed76124057823/minimal.ipynb @@ -35,7 +35,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.19" + "version": "3.9.21" } }, "nbformat": 4, diff --git a/main/_downloads/6c6c940b7cd82707fbcc01f7df5fd56f/digits_sklearn.zip b/main/_downloads/6c6c940b7cd82707fbcc01f7df5fd56f/digits_sklearn.zip index 5df7b10d..4acbb20a 100644 Binary files a/main/_downloads/6c6c940b7cd82707fbcc01f7df5fd56f/digits_sklearn.zip and b/main/_downloads/6c6c940b7cd82707fbcc01f7df5fd56f/digits_sklearn.zip differ diff --git a/main/_downloads/7d7a7d51b729cfd5e3d34696ada6b064/importances.zip b/main/_downloads/7d7a7d51b729cfd5e3d34696ada6b064/importances.zip index 88de75a9..86a907fb 100644 Binary files a/main/_downloads/7d7a7d51b729cfd5e3d34696ada6b064/importances.zip and b/main/_downloads/7d7a7d51b729cfd5e3d34696ada6b064/importances.zip differ diff --git a/main/_downloads/99282791bd8a0f766c85ce43b212a6b7/pdp.ipynb b/main/_downloads/99282791bd8a0f766c85ce43b212a6b7/pdp.ipynb index 2de6b34b..c9fd4288 100644 --- a/main/_downloads/99282791bd8a0f766c85ce43b212a6b7/pdp.ipynb +++ b/main/_downloads/99282791bd8a0f766c85ce43b212a6b7/pdp.ipynb @@ -35,7 +35,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.19" + "version": "3.9.21" } }, "nbformat": 4, diff --git a/main/_downloads/99556dba95731a8f804741239f91ea47/mnist_pytorch.zip b/main/_downloads/99556dba95731a8f804741239f91ea47/mnist_pytorch.zip index d4f41aae..417f2896 100644 Binary files a/main/_downloads/99556dba95731a8f804741239f91ea47/mnist_pytorch.zip and b/main/_downloads/99556dba95731a8f804741239f91ea47/mnist_pytorch.zip differ diff --git a/main/_downloads/aabae18a223fa014a3ff3692699ee5e2/importances.ipynb b/main/_downloads/aabae18a223fa014a3ff3692699ee5e2/importances.ipynb index c1c5468b..895c50e7 100644 --- a/main/_downloads/aabae18a223fa014a3ff3692699ee5e2/importances.ipynb +++ b/main/_downloads/aabae18a223fa014a3ff3692699ee5e2/importances.ipynb @@ -35,7 +35,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.19" + "version": "3.9.21" } }, "nbformat": 4, diff --git a/main/_downloads/ad79591140408f040bd9f6e2ef83c954/parallel_coordinates.zip b/main/_downloads/ad79591140408f040bd9f6e2ef83c954/parallel_coordinates.zip index eeeb1906..46639c27 100644 Binary files a/main/_downloads/ad79591140408f040bd9f6e2ef83c954/parallel_coordinates.zip and b/main/_downloads/ad79591140408f040bd9f6e2ef83c954/parallel_coordinates.zip differ diff --git a/main/_downloads/bc82bea3a5dd7bdba60b65220891d9e5/examples_python.zip b/main/_downloads/bc82bea3a5dd7bdba60b65220891d9e5/examples_python.zip index fadb3594..2c2fb77c 100644 Binary files a/main/_downloads/bc82bea3a5dd7bdba60b65220891d9e5/examples_python.zip and b/main/_downloads/bc82bea3a5dd7bdba60b65220891d9e5/examples_python.zip differ diff --git a/main/_downloads/bdc2709d62468d73e63248ef71ebc760/mnist_pytorch.ipynb b/main/_downloads/bdc2709d62468d73e63248ef71ebc760/mnist_pytorch.ipynb index 6f4e6c37..1730bd52 100644 --- a/main/_downloads/bdc2709d62468d73e63248ef71ebc760/mnist_pytorch.ipynb +++ b/main/_downloads/bdc2709d62468d73e63248ef71ebc760/mnist_pytorch.ipynb @@ -35,7 +35,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.19" + "version": "3.9.21" } }, "nbformat": 4, diff --git a/main/_downloads/ca45e64eb26e32125a4561a719e13205/pdp.zip b/main/_downloads/ca45e64eb26e32125a4561a719e13205/pdp.zip index 8dc13a84..249f30e1 100644 Binary files a/main/_downloads/ca45e64eb26e32125a4561a719e13205/pdp.zip and b/main/_downloads/ca45e64eb26e32125a4561a719e13205/pdp.zip differ diff --git a/main/_downloads/d1732d869fba86e022de98932899c009/ablation_paths.ipynb b/main/_downloads/d1732d869fba86e022de98932899c009/ablation_paths.ipynb index 63fc3d71..87fbe106 100644 --- a/main/_downloads/d1732d869fba86e022de98932899c009/ablation_paths.ipynb +++ b/main/_downloads/d1732d869fba86e022de98932899c009/ablation_paths.ipynb @@ -35,7 +35,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.19" + "version": "3.9.21" } }, "nbformat": 4, diff --git a/main/_downloads/e9c545ae14a903164c9a627d1b3a375a/parallel_coordinates.ipynb b/main/_downloads/e9c545ae14a903164c9a627d1b3a375a/parallel_coordinates.ipynb index cdf80e4d..48f62d77 100644 --- a/main/_downloads/e9c545ae14a903164c9a627d1b3a375a/parallel_coordinates.ipynb +++ b/main/_downloads/e9c545ae14a903164c9a627d1b3a375a/parallel_coordinates.ipynb @@ -35,7 +35,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.19" + "version": "3.9.21" } }, "nbformat": 4, diff --git a/main/_downloads/f17079aa123e756d5eb37459dfeb46a2/digits_sklearn.ipynb b/main/_downloads/f17079aa123e756d5eb37459dfeb46a2/digits_sklearn.ipynb index 21ae87cc..42e70a92 100644 --- a/main/_downloads/f17079aa123e756d5eb37459dfeb46a2/digits_sklearn.ipynb +++ b/main/_downloads/f17079aa123e756d5eb37459dfeb46a2/digits_sklearn.ipynb @@ -35,7 +35,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.19" + "version": "3.9.21" } }, "nbformat": 4, diff --git a/main/_downloads/fb625db3c50d423b1b7881136ffdeec8/examples_jupyter.zip b/main/_downloads/fb625db3c50d423b1b7881136ffdeec8/examples_jupyter.zip index a7cf03a5..06e75f2a 100644 Binary files a/main/_downloads/fb625db3c50d423b1b7881136ffdeec8/examples_jupyter.zip and b/main/_downloads/fb625db3c50d423b1b7881136ffdeec8/examples_jupyter.zip differ diff --git a/main/_modules/deepcave/evaluators/ablation.html b/main/_modules/deepcave/evaluators/ablation.html index 8cde8402..591e6b4f 100644 --- a/main/_modules/deepcave/evaluators/ablation.html +++ b/main/_modules/deepcave/evaluators/ablation.html @@ -21,7 +21,7 @@ - + @@ -827,22 +827,22 @@

Source code for deepcave.evaluators.ablation

    - Ablation: Provide an evaluator of the ablation paths.
 """
 
-from typing import Any, Dict, List, Optional, Tuple, Union
+from typing import Any, Dict, List, Optional, Tuple, Union
 
-import copy
-from collections import OrderedDict
+import copy
+from collections import OrderedDict
 
-import numpy as np
+import numpy as np
 
-from deepcave.evaluators.epm.random_forest_surrogate import RandomForestSurrogate
-from deepcave.runs import AbstractRun
-from deepcave.runs.objective import Objective
-from deepcave.utils.logs import get_logger
+from deepcave.evaluators.epm.random_forest_surrogate import RandomForestSurrogate
+from deepcave.runs import AbstractRun
+from deepcave.runs.objective import Objective
+from deepcave.utils.logs import get_logger
 
 
 
[docs] -class Ablation: +class Ablation: """ Provide an evaluator of the ablation paths. @@ -865,7 +865,7 @@

Source code for deepcave.evaluators.ablation

        Gets changed step by step towards the incumbent configuration.
     """
 
-    def __init__(self, run: AbstractRun):
+    def __init__(self, run: AbstractRun):
         self.run = run
         self.cs = run.configspace
         self.hp_names = list(self.cs.keys())
@@ -875,7 +875,7 @@ 

Source code for deepcave.evaluators.ablation

 [docs]
-    def calculate(
+    def calculate(
         self,
         objectives: Optional[Union[Objective, List[Objective]]],  # noqa
         budget: Optional[Union[int, float]] = None,  # noqa
@@ -982,7 +982,7 @@ 

Source code for deepcave.evaluators.ablation

 [docs]
-    def get_ablation_performances(self) -> Optional[Dict[Any, Any]]:
+    def get_ablation_performances(self) -> Optional[Dict[Any, Any]]:
         """
         Get the ablation performances.
 
@@ -1003,7 +1003,7 @@ 

Source code for deepcave.evaluators.ablation

 [docs]
-    def get_ablation_improvements(self) -> Optional[Dict[Any, Any]]:
+    def get_ablation_improvements(self) -> Optional[Dict[Any, Any]]:
         """
         Get the ablation improvements.
 
@@ -1023,7 +1023,7 @@ 

Source code for deepcave.evaluators.ablation

return self.improvements
- def _ablation( + def _ablation( self, objective: Objective, budget: Optional[Union[int, float]], @@ -1111,7 +1111,7 @@

Source code for deepcave.evaluators.ablation

diff --git a/main/_modules/deepcave/evaluators/epm/fanova_forest.html b/main/_modules/deepcave/evaluators/epm/fanova_forest.html index 6a31e4dd..f2122d7f 100644 --- a/main/_modules/deepcave/evaluators/epm/fanova_forest.html +++ b/main/_modules/deepcave/evaluators/epm/fanova_forest.html @@ -21,7 +21,7 @@ - + @@ -825,22 +825,22 @@

Source code for deepcave.evaluators.epm.fanova_forest

- FanovaForest: A fANOVA forest wrapper for pyrfr. """ -from typing import Any, Dict, List, Optional, Tuple, Union +from typing import Any, Dict, List, Optional, Tuple, Union -import itertools as it +import itertools as it -import numpy as np -import pyrfr -import pyrfr.regression as regression -import pyrfr.util -from ConfigSpace import ConfigurationSpace +import numpy as np +import pyrfr +import pyrfr.regression as regression +import pyrfr.util +from ConfigSpace import ConfigurationSpace -from deepcave.evaluators.epm.random_forest import RandomForest +from deepcave.evaluators.epm.random_forest import RandomForest
[docs] -class FanovaForest(RandomForest): +class FanovaForest(RandomForest): """ A fANOVA forest wrapper for pyrfr. @@ -870,7 +870,7 @@

Source code for deepcave.evaluators.epm.fanova_forest

The number of Hyperparameters to sample. """ - def __init__( + def __init__( self, configspace: ConfigurationSpace, n_trees: int = 10, @@ -904,7 +904,7 @@

Source code for deepcave.evaluators.epm.fanova_forest

self.cutoffs = cutoffs - def _get_model(self) -> regression.base_tree: + def _get_model(self) -> regression.base_tree: """ Return the internal model. @@ -915,7 +915,7 @@

Source code for deepcave.evaluators.epm.fanova_forest

""" return regression.fanova_forest() - def _train(self, X: np.ndarray, Y: np.ndarray) -> None: + def _train(self, X: np.ndarray, Y: np.ndarray) -> None: """ Train the Random Forest on X and Y. @@ -979,7 +979,7 @@

Source code for deepcave.evaluators.epm.fanova_forest

[docs] - def compute_marginals( + def compute_marginals( self, hp_ids: Union[List[int], Tuple[int, ...]], depth: int = 1 ) -> Tuple[Dict[Tuple[int, ...], List[Any]], Dict[Tuple[int, ...], List[Any]],]: """ @@ -1089,7 +1089,7 @@

Source code for deepcave.evaluators.epm.fanova_forest

diff --git a/main/_modules/deepcave/evaluators/epm/random_forest.html b/main/_modules/deepcave/evaluators/epm/random_forest.html index 39fbceca..e7640d26 100644 --- a/main/_modules/deepcave/evaluators/epm/random_forest.html +++ b/main/_modules/deepcave/evaluators/epm/random_forest.html @@ -21,7 +21,7 @@ - + @@ -828,25 +828,25 @@

Source code for deepcave.evaluators.epm.random_forest

PYRFR_MAPPING : Dict[str, str] """ -from typing import Any, Dict, List, Optional, Tuple, Union +from typing import Any, Dict, List, Optional, Tuple, Union -import functools -import warnings +import functools +import warnings -import numpy as np -import pyrfr.regression as regression -from ConfigSpace import ConfigurationSpace -from ConfigSpace.hyperparameters import ( +import numpy as np +import pyrfr.regression as regression +from ConfigSpace import ConfigurationSpace +from ConfigSpace.hyperparameters import ( CategoricalHyperparameter, Constant, UniformFloatHyperparameter, UniformIntegerHyperparameter, ) -from sklearn.decomposition import PCA -from sklearn.exceptions import NotFittedError -from sklearn.preprocessing import MinMaxScaler +from sklearn.decomposition import PCA +from sklearn.exceptions import NotFittedError +from sklearn.preprocessing import MinMaxScaler -from deepcave.evaluators.epm.utils import get_types +from deepcave.evaluators.epm.utils import get_types VERY_SMALL_NUMBER = 1e-10 PYRFR_MAPPING = { @@ -863,7 +863,7 @@

Source code for deepcave.evaluators.epm.random_forest

[docs] -class RandomForest: +class RandomForest: """ A random forest wrapper for pyrfr. @@ -900,7 +900,7 @@

Source code for deepcave.evaluators.epm.random_forest

The instance features. """ - def __init__( + def __init__( self, configspace: ConfigurationSpace, n_trees: int = 16, @@ -952,7 +952,7 @@

Source code for deepcave.evaluators.epm.random_forest

bootstrapping=bootstrapping, ) - def _get_model(self) -> regression.base_tree: + def _get_model(self) -> regression.base_tree: """ Return the internal model. @@ -963,7 +963,7 @@

Source code for deepcave.evaluators.epm.random_forest

""" return regression.binary_rss_forest() - def _get_model_options(self, **kwargs: Union[int, float, bool]) -> regression.forest_opts: + def _get_model_options(self, **kwargs: Union[int, float, bool]) -> regression.forest_opts: """ Get model options from kwargs. @@ -983,14 +983,14 @@

Source code for deepcave.evaluators.epm.random_forest

# Now the options are set options = regression.forest_opts() - def rgetattr(obj: object, attr: str, *args: Any) -> Any: - def _getattr(obj: object, attr: object) -> Any: + def rgetattr(obj: object, attr: str, *args: Any) -> Any: + def _getattr(obj: object, attr: object) -> Any: attr = str(attr) return getattr(obj, attr, *args) return functools.reduce(_getattr, [obj] + attr.split(".")) - def rsetattr(obj: object, attr: str, val: Any) -> None: + def rsetattr(obj: object, attr: str, val: Any) -> None: pre, _, post = attr.rpartition(".") return setattr(rgetattr(obj, pre) if pre else obj, post, val) @@ -1000,7 +1000,7 @@

Source code for deepcave.evaluators.epm.random_forest

return options - def _impute_inactive(self, X: np.ndarray) -> np.ndarray: + def _impute_inactive(self, X: np.ndarray) -> np.ndarray: """ Impute inactive values in X. @@ -1045,7 +1045,7 @@

Source code for deepcave.evaluators.epm.random_forest

return X - def _check_dimensions(self, X: np.ndarray, Y: Optional[np.ndarray] = None) -> None: + def _check_dimensions(self, X: np.ndarray, Y: Optional[np.ndarray] = None) -> None: """ Check if the dimensions of X and Y are correct with respect to features. @@ -1073,7 +1073,7 @@

Source code for deepcave.evaluators.epm.random_forest

if X.shape[0] != Y.shape[0]: raise ValueError(f"X.shape[0] ({X.shape[0]}) != y.shape[0] ({Y.shape[0]})") - def _get_data_container( + def _get_data_container( self, X: np.ndarray, y: np.ndarray ) -> regression.default_data_container: """ @@ -1109,7 +1109,7 @@

Source code for deepcave.evaluators.epm.random_forest

[docs] - def train(self, X: np.ndarray, Y: np.ndarray) -> None: + def train(self, X: np.ndarray, Y: np.ndarray) -> None: """ Train the random forest on X and Y. @@ -1153,7 +1153,7 @@

Source code for deepcave.evaluators.epm.random_forest

self._train(X, Y)
- def _train(self, X: np.ndarray, Y: np.ndarray) -> None: + def _train(self, X: np.ndarray, Y: np.ndarray) -> None: """ Train the random forest on X and Y. @@ -1176,7 +1176,7 @@

Source code for deepcave.evaluators.epm.random_forest

[docs] - def predict(self, X: np.ndarray) -> Tuple[np.ndarray, np.ndarray]: + def predict(self, X: np.ndarray) -> Tuple[np.ndarray, np.ndarray]: """ Predict means and variances for a given X. @@ -1218,7 +1218,7 @@

Source code for deepcave.evaluators.epm.random_forest

return mean, var
- def _predict(self, X: np.ndarray) -> Tuple[np.ndarray, np.ndarray]: + def _predict(self, X: np.ndarray) -> Tuple[np.ndarray, np.ndarray]: """ Predict means and variances for a given X. @@ -1277,7 +1277,7 @@

Source code for deepcave.evaluators.epm.random_forest

[docs] - def predict_marginalized(self, X: np.ndarray) -> Tuple[np.ndarray, np.ndarray]: + def predict_marginalized(self, X: np.ndarray) -> Tuple[np.ndarray, np.ndarray]: """ Predict mean and variance marginalized over all instances. @@ -1345,7 +1345,7 @@

Source code for deepcave.evaluators.epm.random_forest

[docs] - def get_leaf_values(self, x: np.ndarray) -> regression.binary_rss_forest: + def get_leaf_values(self, x: np.ndarray) -> regression.binary_rss_forest: """ Get the leaf values of the model. @@ -1383,7 +1383,7 @@

Source code for deepcave.evaluators.epm.random_forest

diff --git a/main/_modules/deepcave/evaluators/epm/random_forest_surrogate.html b/main/_modules/deepcave/evaluators/epm/random_forest_surrogate.html index 8a2d9d94..2820a84c 100644 --- a/main/_modules/deepcave/evaluators/epm/random_forest_surrogate.html +++ b/main/_modules/deepcave/evaluators/epm/random_forest_surrogate.html @@ -21,7 +21,7 @@ - + @@ -824,25 +824,25 @@

Source code for deepcave.evaluators.epm.random_forest_surrogate

- RandomForestSurrogate: Random forest surrogate for the pyPDP package. """ -from typing import Optional, Tuple +from typing import Optional, Tuple -import ConfigSpace as CS -import numpy as np -from pyPDP.surrogate_models import SurrogateModel +import ConfigSpace as CS +import numpy as np +from pyPDP.surrogate_models import SurrogateModel -from deepcave.evaluators.epm.random_forest import RandomForest +from deepcave.evaluators.epm.random_forest import RandomForest
[docs] -class RandomForestSurrogate(SurrogateModel): +class RandomForestSurrogate(SurrogateModel): """ Random forest surrogate for the pyPDP package. Predict deviations and fit the model. """ - def __init__( + def __init__( self, configspace: CS.ConfigurationSpace, seed: Optional[int] = None, @@ -853,7 +853,7 @@

Source code for deepcave.evaluators.epm.random_forest_surrogate

[docs] - def predict(self, X: np.ndarray) -> Tuple[np.ndarray, np.ndarray]: + def predict(self, X: np.ndarray) -> Tuple[np.ndarray, np.ndarray]: """ Predict the deviations. @@ -871,7 +871,7 @@

Source code for deepcave.evaluators.epm.random_forest_surrogate

return means[:, 0], stds[:, 0]
- def _fit(self, X: np.ndarray, y: np.ndarray) -> None: + def _fit(self, X: np.ndarray, y: np.ndarray) -> None: """ Train the surrogate model. @@ -905,7 +905,7 @@

Source code for deepcave.evaluators.epm.random_forest_surrogate

diff --git a/main/_modules/deepcave/evaluators/epm/utils.html b/main/_modules/deepcave/evaluators/epm/utils.html index 25da717a..a361a583 100644 --- a/main/_modules/deepcave/evaluators/epm/utils.html +++ b/main/_modules/deepcave/evaluators/epm/utils.html @@ -21,7 +21,7 @@ - + @@ -820,11 +820,11 @@

Source code for deepcave.evaluators.epm.utils

as well as the bounds of the Hyperparameters. """ -from typing import List, Optional, Tuple +from typing import List, Optional, Tuple -import numpy as np -from ConfigSpace import ConfigurationSpace -from ConfigSpace.hyperparameters import ( +import numpy as np +from ConfigSpace import ConfigurationSpace +from ConfigSpace.hyperparameters import ( BetaFloatHyperparameter, BetaIntegerHyperparameter, CategoricalHyperparameter, @@ -839,7 +839,7 @@

Source code for deepcave.evaluators.epm.utils

[docs] -def get_types( +def get_types( config_space: ConfigurationSpace, instance_features: Optional[np.ndarray] = None, ) -> Tuple[List[int], List[Tuple[float, float]]]: @@ -983,7 +983,7 @@

Source code for deepcave.evaluators.epm.utils

diff --git a/main/_modules/deepcave/evaluators/fanova.html b/main/_modules/deepcave/evaluators/fanova.html index 3b391b6d..bb727a48 100644 --- a/main/_modules/deepcave/evaluators/fanova.html +++ b/main/_modules/deepcave/evaluators/fanova.html @@ -21,7 +21,7 @@ - + @@ -824,22 +824,22 @@

Source code for deepcave.evaluators.fanova

     - fANOVA: Calculate and provide midpoints and sizes.
 """
 
-from typing import Any, Dict, List, Optional, Tuple, Union
+from typing import Any, Dict, List, Optional, Tuple, Union
 
-import itertools as it
+import itertools as it
 
-import numpy as np
+import numpy as np
 
-from deepcave.constants import COMBINED_COST_NAME
-from deepcave.evaluators.epm.fanova_forest import FanovaForest
-from deepcave.runs import AbstractRun
-from deepcave.runs.objective import Objective
-from deepcave.utils.logs import get_logger
+from deepcave.constants import COMBINED_COST_NAME
+from deepcave.evaluators.epm.fanova_forest import FanovaForest
+from deepcave.runs import AbstractRun
+from deepcave.runs.objective import Objective
+from deepcave.utils.logs import get_logger
 
 
 
[docs] -class fANOVA: +class fANOVA: """ Calculate and provide midpoints and sizes. @@ -859,7 +859,7 @@

Source code for deepcave.evaluators.fanova

         The number of trees.
     """
 
-    def __init__(self, run: AbstractRun):
+    def __init__(self, run: AbstractRun):
         if run.configspace is None:
             raise RuntimeError("The run needs to be initialized.")
 
@@ -871,7 +871,7 @@ 

Source code for deepcave.evaluators.fanova

 
 
[docs] - def calculate( + def calculate( self, objectives: Optional[Union[Objective, List[Objective]]] = None, budget: Optional[Union[int, float]] = None, @@ -919,7 +919,7 @@

Source code for deepcave.evaluators.fanova

 
 
[docs] - def get_importances( + def get_importances( self, hp_names: Optional[List[str]] = None, depth: int = 1, sort: bool = True ) -> Dict[Union[str, Tuple[str, ...]], Tuple[float, float, float, float]]: """ @@ -1168,7 +1168,7 @@

Source code for deepcave.evaluators.fanova

     
     
     
diff --git a/main/_modules/deepcave/evaluators/footprint.html b/main/_modules/deepcave/evaluators/footprint.html
index b31a2151..91bb8e9c 100644
--- a/main/_modules/deepcave/evaluators/footprint.html
+++ b/main/_modules/deepcave/evaluators/footprint.html
@@ -21,7 +21,7 @@
       
 
     
-    
+    
     
     
     
@@ -825,30 +825,30 @@ 

Source code for deepcave.evaluators.footprint

- Footprint: Can train and create a footprint of a run. """ -from typing import List, Optional, Tuple, Union +from typing import List, Optional, Tuple, Union -import numpy as np -from ConfigSpace.hyperparameters import ( +import numpy as np +from ConfigSpace.hyperparameters import ( CategoricalHyperparameter, Constant, Hyperparameter, ) -from sklearn.ensemble import RandomForestRegressor -from sklearn.manifold import MDS -from tqdm import tqdm +from sklearn.ensemble import RandomForestRegressor +from sklearn.manifold import MDS +from tqdm import tqdm -from deepcave.constants import BORDER_CONFIG_ID, RANDOM_CONFIG_ID -from deepcave.runs import AbstractRun, Status -from deepcave.runs.objective import Objective -from deepcave.utils.configspace import sample_border_config, sample_random_config -from deepcave.utils.logs import get_logger +from deepcave.constants import BORDER_CONFIG_ID, RANDOM_CONFIG_ID +from deepcave.runs import AbstractRun, Status +from deepcave.runs.objective import Objective +from deepcave.utils.configspace import sample_border_config, sample_random_config +from deepcave.utils.logs import get_logger logger = get_logger(__name__)
[docs] -class Footprint: +class Footprint: """ Can train and create a footprint of a run. @@ -863,7 +863,7 @@

Source code for deepcave.evaluators.footprint

The configuration space of the run. """ - def __init__(self, run: AbstractRun): + def __init__(self, run: AbstractRun): if run.configspace is None: raise RuntimeError("The run needs to be initialized.") @@ -887,7 +887,7 @@

Source code for deepcave.evaluators.footprint

self._trained = False self._reset() - def _reset(self) -> None: + def _reset(self) -> None: """Reset the footprint.""" self._objective_model: Optional[RandomForestRegressor] = None self._area_model: Optional[RandomForestRegressor] = None @@ -901,7 +901,7 @@

Source code for deepcave.evaluators.footprint

[docs] - def calculate( + def calculate( self, objective: Objective, budget: Union[int, float], @@ -1050,7 +1050,7 @@

Source code for deepcave.evaluators.footprint

[docs] - def get_surface( + def get_surface( self, details: float = 0.5, performance: bool = True ) -> Tuple[List, List, List]: """ @@ -1111,7 +1111,7 @@

Source code for deepcave.evaluators.footprint

[docs] - def get_points(self, category: str = "configs") -> Tuple[List[float], List[float], List[int]]: + def get_points(self, category: str = "configs") -> Tuple[List[float], List[float], List[int]]: """ Return the points of the multidimensional scaling (MDS) plot. @@ -1157,7 +1157,7 @@

Source code for deepcave.evaluators.footprint

return X, Y, config_ids
- def _get_max_distance(self) -> float: + def _get_max_distance(self) -> float: """ Calculate the maximum distance between all configs. @@ -1179,7 +1179,7 @@

Source code for deepcave.evaluators.footprint

return max_distance - def _get_distance(self, x: np.ndarray, y: np.ndarray) -> float: + def _get_distance(self, x: np.ndarray, y: np.ndarray) -> float: """ Calculate distance between x and y. Both arrays must have the same length. @@ -1210,7 +1210,7 @@

Source code for deepcave.evaluators.footprint

return d - def _get_distances(self, X: np.ndarray) -> np.ndarray: + def _get_distances(self, X: np.ndarray) -> np.ndarray: """ Get the distances between the configurations. @@ -1237,7 +1237,7 @@

Source code for deepcave.evaluators.footprint

return distances - def _init_distances( + def _init_distances( self, X: np.ndarray, config_ids: List[int], exclude_configs: bool = False ) -> None: """ @@ -1262,7 +1262,7 @@

Source code for deepcave.evaluators.footprint

self._config_ids = [] self._distances = np.zeros((0, 0)) - def _update_distances( + def _update_distances( self, config: np.ndarray, config_id: int, @@ -1332,7 +1332,7 @@

Source code for deepcave.evaluators.footprint

return rejected - def _get_depth(self, hp: Hyperparameter) -> int: + def _get_depth(self, hp: Hyperparameter) -> int: """ Get depth (generations above) in configuration space of a given hyperparameter (HP). @@ -1365,7 +1365,7 @@

Source code for deepcave.evaluators.footprint

return d - def _get_mds(self) -> np.ndarray: + def _get_mds(self) -> np.ndarray: """ Perform multidimensional scaling (MDS) on the internal distances. @@ -1385,7 +1385,7 @@

Source code for deepcave.evaluators.footprint

mds = MDS(n_components=2, dissimilarity="precomputed", random_state=0) return mds.fit_transform(self._distances) - def _train_on_objective(self, X: np.ndarray, Y: np.ndarray) -> None: + def _train_on_objective(self, X: np.ndarray, Y: np.ndarray) -> None: """ Train the random forest on the performance. @@ -1400,7 +1400,7 @@

Source code for deepcave.evaluators.footprint

self._objective_model = RandomForestRegressor(random_state=0) self._objective_model.fit(X, Y) - def _train_on_areas(self) -> None: + def _train_on_areas(self) -> None: """ Train the random forest on the "valid" areas. @@ -1466,7 +1466,7 @@

Source code for deepcave.evaluators.footprint

diff --git a/main/_modules/deepcave/evaluators/lpi.html b/main/_modules/deepcave/evaluators/lpi.html index 7d6a047f..a38c0fd5 100644 --- a/main/_modules/deepcave/evaluators/lpi.html +++ b/main/_modules/deepcave/evaluators/lpi.html @@ -21,7 +21,7 @@ - + @@ -822,29 +822,29 @@

Source code for deepcave.evaluators.lpi

     - LPI: This class calculates the local parameter importance (LPI).
 """
 
-from typing import Any, Dict, List, Optional, Tuple, Union
+from typing import Any, Dict, List, Optional, Tuple, Union
 
-import numpy as np
-from ConfigSpace import Configuration
-from ConfigSpace.c_util import change_hp_value
-from ConfigSpace.exceptions import ForbiddenValueError
-from ConfigSpace.hyperparameters import (
+import numpy as np
+from ConfigSpace import Configuration
+from ConfigSpace.c_util import change_hp_value
+from ConfigSpace.exceptions import ForbiddenValueError
+from ConfigSpace.hyperparameters import (
     CategoricalHyperparameter,
     NumericalHyperparameter,
 )
-from ConfigSpace.types import Array, f64
-from ConfigSpace.util import impute_inactive_values
+from ConfigSpace.types import Array, f64
+from ConfigSpace.util import impute_inactive_values
 
-from deepcave.constants import COMBINED_COST_NAME
-from deepcave.evaluators.epm.fanova_forest import FanovaForest
-from deepcave.runs import AbstractRun
-from deepcave.runs.objective import Objective
+from deepcave.constants import COMBINED_COST_NAME
+from deepcave.evaluators.epm.fanova_forest import FanovaForest
+from deepcave.runs import AbstractRun
+from deepcave.runs.objective import Objective
 
 
 # https://github.com/automl/ParameterImportance/blob/f4950593ee627093fc30c0847acc5d8bf63ef84b/pimp/evaluator/local_parameter_importance.py#L27
 
[docs] -class LPI: +class LPI: """ Calculate the local parameter importance (LPI). @@ -874,7 +874,7 @@

Source code for deepcave.evaluators.lpi

         A random state with a given seed value.
     """
 
-    def __init__(self, run: AbstractRun):
+    def __init__(self, run: AbstractRun):
         self.run = run
         self.cs = run.configspace
         self.hp_names = list(self.cs.keys())
@@ -883,7 +883,7 @@ 

Source code for deepcave.evaluators.lpi

 
 
[docs] - def calculate( + def calculate( self, objectives: Optional[Union[Objective, List[Objective]]] = None, budget: Optional[Union[int, float]] = None, @@ -1056,7 +1056,7 @@

Source code for deepcave.evaluators.lpi

 
 
[docs] - def get_importances(self, hp_names: List[str]) -> Dict[str, Tuple[float, float]]: + def get_importances(self, hp_names: List[str]) -> Dict[str, Tuple[float, float]]: """ Return the importances. @@ -1101,7 +1101,7 @@

Source code for deepcave.evaluators.lpi

         return importances
- def _get_neighborhood(self) -> Dict[str, List[Union[np.ndarray, List[np.ndarray]]]]: + def _get_neighborhood(self) -> Dict[str, List[Union[np.ndarray, List[np.ndarray]]]]: """ Slight modification of ConfigSpace's get_one_exchange neighborhood. @@ -1190,7 +1190,7 @@

Source code for deepcave.evaluators.lpi

 
         return neighborhood
 
-    def _predict_mean_var(self, config: Configuration) -> Tuple[np.ndarray, np.ndarray]:
+    def _predict_mean_var(self, config: Configuration) -> Tuple[np.ndarray, np.ndarray]:
         """
         Small wrapper to predict marginalized over instances.
 
@@ -1235,7 +1235,7 @@ 

Source code for deepcave.evaluators.lpi

     
     
     
diff --git a/main/_modules/deepcave/evaluators/mo_ablation.html b/main/_modules/deepcave/evaluators/mo_ablation.html
index 3fcc7f76..3314681c 100644
--- a/main/_modules/deepcave/evaluators/mo_ablation.html
+++ b/main/_modules/deepcave/evaluators/mo_ablation.html
@@ -21,7 +21,7 @@
       
 
     
-    
+    
     
     
     
@@ -827,23 +827,23 @@ 

Source code for deepcave.evaluators.mo_ablation

< - Ablation: Provide an evaluator of the ablation paths. """ -from typing import Any, List, Optional, Tuple, Union +from typing import Any, List, Optional, Tuple, Union -import copy +import copy -import numpy as np -import pandas as pd +import numpy as np +import pandas as pd -from deepcave.evaluators.ablation import Ablation -from deepcave.evaluators.epm.random_forest_surrogate import RandomForestSurrogate -from deepcave.runs import AbstractRun -from deepcave.runs.objective import Objective -from deepcave.utils.multi_objective_importance import get_weightings +from deepcave.evaluators.ablation import Ablation +from deepcave.evaluators.epm.random_forest_surrogate import RandomForestSurrogate +from deepcave.runs import AbstractRun +from deepcave.runs.objective import Objective +from deepcave.utils.multi_objective_importance import get_weightings
[docs] -class MOAblation(Ablation): +class MOAblation(Ablation): """ Provide an evaluator of the ablation paths. @@ -868,14 +868,14 @@

Source code for deepcave.evaluators.mo_ablation

< Gets changed step by step towards the incumbent configuration. """ - def __init__(self, run: AbstractRun): + def __init__(self, run: AbstractRun): super().__init__(run) self.models: List = [] self.df_importances = pd.DataFrame([])
[docs] - def get_importances(self) -> str: + def get_importances(self) -> str: """ Return the importance scores. @@ -898,7 +898,7 @@

Source code for deepcave.evaluators.mo_ablation

<
[docs] - def predict(self, cfg: list[Any], weighting: np.ndarray) -> Tuple[float, float]: + def predict(self, cfg: list[Any], weighting: np.ndarray) -> Tuple[float, float]: """ Predict the performance of the input configuration. @@ -928,7 +928,7 @@

Source code for deepcave.evaluators.mo_ablation

<
[docs] - def calculate( + def calculate( self, objectives: Optional[Union[Objective, List[Objective]]], # noqa budget: Optional[Union[int, float]] = None, # noqa @@ -999,7 +999,7 @@

Source code for deepcave.evaluators.mo_ablation

<
[docs] - def calculate_ablation_path( + def calculate_ablation_path( self, df: pd.DataFrame, objectives_normed: List[str], @@ -1101,7 +1101,7 @@

Source code for deepcave.evaluators.mo_ablation

<
[docs] - def ablation( + def ablation( self, budget: Optional[Union[int, float]], incumbent_config: Any, @@ -1187,7 +1187,7 @@

Source code for deepcave.evaluators.mo_ablation

< diff --git a/main/_modules/deepcave/evaluators/mo_fanova.html b/main/_modules/deepcave/evaluators/mo_fanova.html index 6b3c90fc..3ca0dd6a 100644 --- a/main/_modules/deepcave/evaluators/mo_fanova.html +++ b/main/_modules/deepcave/evaluators/mo_fanova.html @@ -21,7 +21,7 @@ - + @@ -824,20 +824,20 @@

Source code for deepcave.evaluators.mo_fanova

- fANOVA: Calculate and provide midpoints and sizes. """ -from typing import List, Optional, Union +from typing import List, Optional, Union -import pandas as pd +import pandas as pd -from deepcave.evaluators.epm.fanova_forest import FanovaForest -from deepcave.evaluators.fanova import fANOVA -from deepcave.runs import AbstractRun -from deepcave.runs.objective import Objective -from deepcave.utils.multi_objective_importance import get_weightings +from deepcave.evaluators.epm.fanova_forest import FanovaForest +from deepcave.evaluators.fanova import fANOVA +from deepcave.runs import AbstractRun +from deepcave.runs.objective import Objective +from deepcave.utils.multi_objective_importance import get_weightings
[docs] -class MOfANOVA(fANOVA): +class MOfANOVA(fANOVA): """ Multi-Objective fANOVA. @@ -847,7 +847,7 @@

Source code for deepcave.evaluators.mo_fanova

(multi-objective case). """ - def __init__(self, run: AbstractRun): + def __init__(self, run: AbstractRun): if run.configspace is None: raise RuntimeError("The run needs to be initialized.") @@ -856,7 +856,7 @@

Source code for deepcave.evaluators.mo_fanova

[docs] - def calculate( + def calculate( self, objectives: Optional[Union[Objective, List[Objective]]] = None, budget: Optional[Union[int, float]] = None, @@ -932,7 +932,7 @@

Source code for deepcave.evaluators.mo_fanova

[docs] - def get_importances_(self, hp_names: Optional[List[str]] = None) -> str: + def get_importances_(self, hp_names: Optional[List[str]] = None) -> str: """ Return the importance scores from the passed Hyperparameter names. @@ -985,7 +985,7 @@

Source code for deepcave.evaluators.mo_fanova

diff --git a/main/_modules/deepcave/evaluators/mo_lpi.html b/main/_modules/deepcave/evaluators/mo_lpi.html index be7ec0a7..5b1c1d4a 100644 --- a/main/_modules/deepcave/evaluators/mo_lpi.html +++ b/main/_modules/deepcave/evaluators/mo_lpi.html @@ -21,7 +21,7 @@ - + @@ -822,25 +822,25 @@

Source code for deepcave.evaluators.mo_lpi

     - LPI: This class calculates the local parameter importance (LPI).
 """
 
-from typing import Dict, List, Optional, Tuple, Union
+from typing import Dict, List, Optional, Tuple, Union
 
-import numpy as np
-import pandas as pd
-from ConfigSpace import Configuration
-from ConfigSpace.c_util import change_hp_value
-from ConfigSpace.util import impute_inactive_values
+import numpy as np
+import pandas as pd
+from ConfigSpace import Configuration
+from ConfigSpace.c_util import change_hp_value
+from ConfigSpace.util import impute_inactive_values
 
-from deepcave.evaluators.epm.fanova_forest import FanovaForest
-from deepcave.evaluators.lpi import LPI
-from deepcave.runs import AbstractRun
-from deepcave.runs.objective import Objective
-from deepcave.utils.multi_objective_importance import get_weightings
+from deepcave.evaluators.epm.fanova_forest import FanovaForest
+from deepcave.evaluators.lpi import LPI
+from deepcave.runs import AbstractRun
+from deepcave.runs.objective import Objective
+from deepcave.utils.multi_objective_importance import get_weightings
 
 
 # https://github.com/automl/ParameterImportance/blob/f4950593ee627093fc30c0847acc5d8bf63ef84b/pimp/evaluator/local_parameter_importance.py#L27
 
[docs] -class MOLPI(LPI): +class MOLPI(LPI): """ Calculate the multi-objective local parameter importance (LPI). @@ -873,13 +873,13 @@

Source code for deepcave.evaluators.mo_lpi

         A random state with a given seed value.
     """
 
-    def __init__(self, run: AbstractRun):
+    def __init__(self, run: AbstractRun):
         super().__init__(run)
         self.importances: Optional[pd.DataFrame] = None
 
 
[docs] - def calculate( + def calculate( self, objectives: Optional[Union[Objective, List[Objective]]] = None, budget: Optional[Union[int, float]] = None, @@ -967,7 +967,7 @@

Source code for deepcave.evaluators.mo_lpi

 
 
[docs] - def calc_one_weighting(self) -> Dict[str, Tuple[float, float]]: + def calc_one_weighting(self) -> Dict[str, Tuple[float, float]]: """ Prepare the data after a model has be trained for one weighting. @@ -1088,7 +1088,7 @@

Source code for deepcave.evaluators.mo_lpi

 
 
[docs] - def get_importances_(self, hp_names: List[str]) -> str: + def get_importances_(self, hp_names: List[str]) -> str: """ Return the importance scores from the passed Hyperparameter names. @@ -1139,7 +1139,7 @@

Source code for deepcave.evaluators.mo_lpi

     
     
     
diff --git a/main/_modules/deepcave/layouts.html b/main/_modules/deepcave/layouts.html
index 044c61a6..ff846b32 100644
--- a/main/_modules/deepcave/layouts.html
+++ b/main/_modules/deepcave/layouts.html
@@ -21,7 +21,7 @@
       
 
     
-    
+    
     
     
     
@@ -819,18 +819,18 @@ 

Source code for deepcave.layouts

 This module provides a foundation to create layouts.
 """
 
-from abc import ABC, abstractmethod
-from typing import List, Union
+from abc import ABC, abstractmethod
+from typing import List, Union
 
-from dash.development.base_component import Component
+from dash.development.base_component import Component
 
-from deepcave import interactive
-from deepcave.utils.logs import get_logger
+from deepcave import interactive
+from deepcave.utils.logs import get_logger
 
 
 
[docs] -class Layout(ABC): +class Layout(ABC): """ A foundation for creating layouts. @@ -840,18 +840,18 @@

Source code for deepcave.layouts

         A logger for the class.
     """
 
-    def __init__(self) -> None:
+    def __init__(self) -> None:
         self.register_callbacks()
         self.logger = get_logger(self.__class__.__name__)
 
     @interactive
-    def register_callbacks(self) -> None:  # noqa: D102
+    def register_callbacks(self) -> None:  # noqa: D102
         pass
 
 
[docs] @abstractmethod - def __call__(self) -> Union[List[Component], Component]: # noqa: D102 + def __call__(self) -> Union[List[Component], Component]: # noqa: D102 pass
@@ -876,7 +876,7 @@

Source code for deepcave.layouts

     
     
     
diff --git a/main/_modules/deepcave/layouts/header.html b/main/_modules/deepcave/layouts/header.html
index 88481967..2e4a440a 100644
--- a/main/_modules/deepcave/layouts/header.html
+++ b/main/_modules/deepcave/layouts/header.html
@@ -21,7 +21,7 @@
       
 
     
-    
+    
     
     
     
@@ -824,23 +824,23 @@ 

Source code for deepcave.layouts.header

     - HeaderLayout: This class provides the header and its layout.
 """
 
-from typing import List, Optional, Tuple
+from typing import List, Optional, Tuple
 
-import os
-import time
+import os
+import time
 
-import dash_bootstrap_components as dbc
-import requests
-from dash import dcc, html
-from dash.dependencies import Input, Output
+import dash_bootstrap_components as dbc
+import requests
+from dash import dcc, html
+from dash.dependencies import Input, Output
 
-from deepcave import app, config, queue
-from deepcave.layouts import Layout
+from deepcave import app, config, queue
+from deepcave.layouts import Layout
 
 
 
[docs] -class HeaderLayout(Layout): +class HeaderLayout(Layout): """ Provide the header and its layout. @@ -849,14 +849,14 @@

Source code for deepcave.layouts.header

 
 
[docs] - def register_callbacks(self) -> None: + def register_callbacks(self) -> None: """Register and handle the callbacks.""" super().register_callbacks() self._callback_delete_jobs() self._callback_terminate_deepcave()
- def _callback_delete_jobs(self) -> None: + def _callback_delete_jobs(self) -> None: inputs = [Input("exit-deepcave", "n_clicks")] outputs = [ Output("exit-deepcave", "color"), @@ -865,7 +865,7 @@

Source code for deepcave.layouts.header

         ]
 
         @app.callback(inputs, outputs)  # type: ignore
-        def callback(n_clicks: Optional[int]) -> Tuple[str, str, bool]:
+        def callback(n_clicks: Optional[int]) -> Tuple[str, str, bool]:
             # When clicking the Exit button, first existing jobs are deleted and then the button
             # is updated
             if n_clicks is not None:
@@ -874,12 +874,12 @@ 

Source code for deepcave.layouts.header

             else:
                 return "primary", "Exit", False
 
-    def _callback_terminate_deepcave(self) -> None:
+    def _callback_terminate_deepcave(self) -> None:
         inputs = [Input("exit-deepcave", "n_clicks")]
         outputs: List[Output] = []
 
         @app.callback(inputs, outputs)  # type: ignore
-        def callback(n_clicks: Optional[int]) -> None:
+        def callback(n_clicks: Optional[int]) -> None:
             # Then we want to terminate DeepCAVE
             if n_clicks is not None:
                 time.sleep(1)
@@ -888,7 +888,7 @@ 

Source code for deepcave.layouts.header

 
 
[docs] - def __call__(self) -> html.Header: # noqa: D102 + def __call__(self) -> html.Header: # noqa: D102 return html.Header( className="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow", children=[ @@ -923,7 +923,7 @@

Source code for deepcave.layouts.header

     
     
     
diff --git a/main/_modules/deepcave/layouts/not_found.html b/main/_modules/deepcave/layouts/not_found.html
index 0fa1d47e..9c5c5bea 100644
--- a/main/_modules/deepcave/layouts/not_found.html
+++ b/main/_modules/deepcave/layouts/not_found.html
@@ -21,7 +21,7 @@
       
 
     
-    
+    
     
     
     
@@ -821,17 +821,17 @@ 

Source code for deepcave.layouts.not_found

 ## Classes
     - NotFoundLayout: Define a custom "NotFound" layout.
 """
-from typing import List
+from typing import List
 
-from dash import html
-from dash.development.base_component import Component
+from dash import html
+from dash.development.base_component import Component
 
-from deepcave.layouts import Layout
+from deepcave.layouts import Layout
 
 
 
[docs] -class NotFoundLayout(Layout): +class NotFoundLayout(Layout): """ Define a custom "NotFound" layout. @@ -841,13 +841,13 @@

Source code for deepcave.layouts.not_found

         The url that could not be reached.
     """
 
-    def __init__(self, url: str) -> None:
+    def __init__(self, url: str) -> None:
         super().__init__()
         self.url = url
 
 
[docs] - def __call__(self) -> List[Component]: # noqa: D102 + def __call__(self) -> List[Component]: # noqa: D102 return [ html.H2("This page does not exists."), html.Div(f"Tried to reach {self.url}."), @@ -875,7 +875,7 @@

Source code for deepcave.layouts.not_found

     
     
     
diff --git a/main/_modules/deepcave/layouts/sidebar.html b/main/_modules/deepcave/layouts/sidebar.html
index 47ac5ea3..ae3df20a 100644
--- a/main/_modules/deepcave/layouts/sidebar.html
+++ b/main/_modules/deepcave/layouts/sidebar.html
@@ -21,7 +21,7 @@
       
 
     
-    
+    
     
     
     
@@ -824,22 +824,22 @@ 

Source code for deepcave.layouts.sidebar

     - SidebarLayout: Customize the Sidebar Layout.
 """
 
-from typing import Dict, List, Tuple, Union
+from typing import Dict, List, Tuple, Union
 
-import dash_bootstrap_components as dbc
-from dash import ALL, html
-from dash.dependencies import Input, Output, State
-from dash.development.base_component import Component
-from dash_extensions.enrich import Trigger
+import dash_bootstrap_components as dbc
+from dash import ALL, html
+from dash.dependencies import Input, Output, State
+from dash.development.base_component import Component
+from dash_extensions.enrich import Trigger
 
-from deepcave import app, queue
-from deepcave.layouts import Layout
-from deepcave.plugins import Plugin
+from deepcave import app, queue
+from deepcave.layouts import Layout
+from deepcave.plugins import Plugin
 
 
 
[docs] -class SidebarLayout(Layout): +class SidebarLayout(Layout): """ Customize the Sidebar Layout. @@ -853,7 +853,7 @@

Source code for deepcave.layouts.sidebar

         A dictionary with plugins attributes corresponding to their category.
     """
 
-    def __init__(self, categorized_plugins: Dict[str, List[Plugin]]) -> None:
+    def __init__(self, categorized_plugins: Dict[str, List[Plugin]]) -> None:
         super().__init__()
         self.plugins = categorized_plugins
 
@@ -868,14 +868,14 @@ 

Source code for deepcave.layouts.sidebar

 
 
[docs] - def register_callbacks(self) -> None: + def register_callbacks(self) -> None: """Register the callbacks for the sidebar layout.""" # Update navigation items output = Output("navigation-items", "children") input = Input("on-page-load", "pathname") @app.callback(output, input) # type: ignore - def update_navigation_items(pathname: str) -> List[Component]: + def update_navigation_items(pathname: str) -> List[Component]: """ Update the navigation items. @@ -940,7 +940,7 @@

Source code for deepcave.layouts.sidebar

             Input({"type": "cancel-job", "index": ALL}, "n_clicks"),
             State({"type": "cancel-job", "index": ALL}, "name"),
         )
-        def delete_job(n_clicks, job_ids):  # type: ignore
+        def delete_job(n_clicks, job_ids):  # type: ignore
             """Delete the job from the queue."""
             for n_click, job_id in zip(n_clicks, job_ids):
                 if n_click is not None:
@@ -950,7 +950,7 @@ 

Source code for deepcave.layouts.sidebar

         output = Output("queue-info", "children")
 
         @app.callback(output, Trigger("global-update", "n_intervals"))  # type: ignore
-        def update_queue_info() -> List[Component]:
+        def update_queue_info() -> List[Component]:
             """Update the information of the queue."""
             try:
                 all_jobs = [
@@ -1028,7 +1028,7 @@ 

Source code for deepcave.layouts.sidebar

 
 
[docs] - def __call__(self) -> Union[List[Component], Component]: # noqa: D102 + def __call__(self) -> Union[List[Component], Component]: # noqa: D102 return html.Nav( className="col-md-3 col-lg-2 d-md-block sidebar collapse", id="sidebarMenu", @@ -1060,7 +1060,7 @@

Source code for deepcave.layouts.sidebar

     
     
     
diff --git a/main/_modules/deepcave/plugins.html b/main/_modules/deepcave/plugins.html
index e4492606..b26c2597 100644
--- a/main/_modules/deepcave/plugins.html
+++ b/main/_modules/deepcave/plugins.html
@@ -21,7 +21,7 @@
       
 
     
-    
+    
     
     
     
@@ -823,37 +823,37 @@ 

Source code for deepcave.plugins

     - Plugin: Base class for all plugins.
 """
 
-from abc import ABC
-from typing import Any, Callable, Dict, List, Optional, Tuple, Union
-
-import copy
-import re
-import webbrowser
-from collections import defaultdict
-
-import dash_bootstrap_components as dbc
-from dash import dcc, html
-from dash.dependencies import Input, Output, State
-from dash.development.base_component import Component
-from dash.exceptions import PreventUpdate
-
-from deepcave import ROOT_DIR, interactive
-from deepcave.layouts import Layout
-from deepcave.runs import AbstractRun
-from deepcave.runs.group import Group, NotMergeableError
-from deepcave.utils.data_structures import update_dict
-from deepcave.utils.docs import rst_to_md
-from deepcave.utils.hash import string_to_hash
-from deepcave.utils.layout import get_select_options
-from deepcave.utils.logs import get_logger
-from deepcave.utils.url import parse_url
+from abc import ABC
+from typing import Any, Callable, Dict, List, Optional, Tuple, Union
+
+import copy
+import re
+import webbrowser
+from collections import defaultdict
+
+import dash_bootstrap_components as dbc
+from dash import dcc, html
+from dash.dependencies import Input, Output, State
+from dash.development.base_component import Component
+from dash.exceptions import PreventUpdate
+
+from deepcave import ROOT_DIR, interactive
+from deepcave.layouts import Layout
+from deepcave.runs import AbstractRun
+from deepcave.runs.group import Group, NotMergeableError
+from deepcave.utils.data_structures import update_dict
+from deepcave.utils.docs import rst_to_md
+from deepcave.utils.hash import string_to_hash
+from deepcave.utils.layout import get_select_options
+from deepcave.utils.logs import get_logger
+from deepcave.utils.url import parse_url
 
 logger = get_logger(__name__)
 
 
 
[docs] -class Plugin(Layout, ABC): +class Plugin(Layout, ABC): """ Base class for all plugins. @@ -896,7 +896,7 @@

Source code for deepcave.plugins

     button_caption: str = "Process"
     activate_run_selection: bool = False
 
-    def __init__(self) -> None:
+    def __init__(self) -> None:
         # Registered inputs and outputs
         self.inputs: List[Tuple[str, str, bool, Any]] = []
         self.outputs: List[Tuple[str, str]] = []
@@ -922,7 +922,7 @@ 

Source code for deepcave.plugins

 [docs]
     @classmethod
     @interactive
-    def get_base_url(cls) -> str:
+    def get_base_url(cls) -> str:
         """
         Generate the url for the plugin.
 
@@ -931,7 +931,7 @@ 

Source code for deepcave.plugins

         str
             Url for the plugin as string.
         """
-        from deepcave import config
+        from deepcave import config
 
         return f"http://{config.DASH_ADDRESS}:{config.DASH_PORT}/plugins/{cls.id}"
@@ -939,7 +939,7 @@

Source code for deepcave.plugins

 
[docs] @staticmethod - def check_run_compatibility(run: AbstractRun) -> bool: + def check_run_compatibility(run: AbstractRun) -> bool: """ Check if a run is compatible with this plugin. @@ -964,7 +964,7 @@

Source code for deepcave.plugins

 
 
[docs] - def check_runs_compatibility(self, runs: List[AbstractRun]) -> None: + def check_runs_compatibility(self, runs: List[AbstractRun]) -> None: """ Needed if all selected runs need something in common. @@ -986,7 +986,7 @@

Source code for deepcave.plugins

 
 
[docs] - def register_input( + def register_input( self, id: str, attributes: Union[str, List[str]] = "value", @@ -1039,7 +1039,7 @@

Source code for deepcave.plugins

 
 
[docs] - def register_output(self, id: str, attributes: Union[str, List[str]] = "value") -> str: + def register_output(self, id: str, attributes: Union[str, List[str]] = "value") -> str: """ Register an output variable for the plugin. @@ -1068,21 +1068,21 @@

Source code for deepcave.plugins

 
 
[docs] - def get_internal_id(self, id: str) -> str: + def get_internal_id(self, id: str) -> str: """Get the internal id.""" return f"{self.id}-{id}"
[docs] - def get_internal_input_id(self, id: str) -> str: + def get_internal_input_id(self, id: str) -> str: """Get the internal input id.""" return f"{self.id}-{id}-input"
[docs] - def get_internal_output_id(self, id: str) -> str: + def get_internal_output_id(self, id: str) -> str: """Get the internal output id.""" return f"{self.id}-{id}-output"
@@ -1090,7 +1090,7 @@

Source code for deepcave.plugins

 
[docs] @interactive - def register_callbacks(self) -> None: + def register_callbacks(self) -> None: """ Register basic callbacks for the plugin. @@ -1105,7 +1105,7 @@

Source code for deepcave.plugins

         RuntimeError
             If no run id is found.
         """
-        from deepcave import app, c, run_handler
+        from deepcave import app, c, run_handler
 
         # Handles the initial and the cashed input values
         outputs = []
@@ -1121,7 +1121,7 @@ 

Source code for deepcave.plugins

         if len(outputs) > 0:
 
             @app.callback(outputs, inputs)  # type: ignore
-            def plugin_input_update(pathname: str, *inputs_list: str) -> List[Optional[str]]:
+            def plugin_input_update(pathname: str, *inputs_list: str) -> List[Optional[str]]:
                 """Update the input of the plugin."""
                 # Simple check if page was loaded for the first time
                 init = all(input is None for input in inputs_list)
@@ -1269,7 +1269,7 @@ 

Source code for deepcave.plugins

             Input(self.get_internal_id("show_raw_data"), "n_clicks"),
             State(self.get_internal_id("raw_data"), "is_open"),
         )
-        def toggle_raw_data_modal(n: Optional[int], is_open: bool) -> Tuple[bool, str]:
+        def toggle_raw_data_modal(n: Optional[int], is_open: bool) -> Tuple[bool, str]:
             """Toggle the raw data modal."""
             code = ""
             if n:
@@ -1289,7 +1289,7 @@ 

Source code for deepcave.plugins

             Input(self.get_internal_id("show_help"), "n_clicks"),
             State(self.get_internal_id("help"), "is_open"),
         )
-        def toggle_help_modal(n: Optional[int], is_open: bool) -> bool:
+        def toggle_help_modal(n: Optional[int], is_open: bool) -> bool:
             """Toggle the help modal."""
             if n:
                 return not is_open
@@ -1303,7 +1303,7 @@ 

Source code for deepcave.plugins

                 Output(internal_id, "clickData"),
                 Input(internal_id, "clickData"),
             )  # type: ignore
-            def go_to_configuration(click_data: Any):
+            def go_to_configuration(click_data: Any):
                 """Open link from hovertext."""
                 if click_data is not None:
                     # Get hovertext
@@ -1322,7 +1322,7 @@ 

Source code for deepcave.plugins

 
 
     @interactive
-    def _inputs_changed(
+    def _inputs_changed(
         self, inputs: Dict[str, Dict[str, str]], last_inputs: Dict[str, Dict[str, str]]
     ) -> Tuple[bool, bool]:
         """
@@ -1361,7 +1361,7 @@ 

Source code for deepcave.plugins

         return inputs_changed, filters_changed
 
     @interactive
-    def _process_raw_outputs(
+    def _process_raw_outputs(
         self, inputs: Dict[str, Dict[str, str]], raw_outputs: Dict[str, Any]
     ) -> Any:
         """
@@ -1379,7 +1379,7 @@ 

Source code for deepcave.plugins

         Any
             The processed outputs.
         """
-        from deepcave import run_handler
+        from deepcave import run_handler
 
         # Use raw outputs to update our layout
         passed_runs: Union[List[AbstractRun], AbstractRun]
@@ -1417,7 +1417,7 @@ 

Source code for deepcave.plugins

         return outputs
 
     @interactive
-    def _list_to_dict(self, values: List[str], input: bool = True) -> Dict[str, Dict[str, str]]:
+    def _list_to_dict(self, values: List[str], input: bool = True) -> Dict[str, Dict[str, str]]:
         """
         Map the given values to a dict.
 
@@ -1453,7 +1453,7 @@ 

Source code for deepcave.plugins

         return mapping
 
     @interactive
-    def _dict_to_list(
+    def _dict_to_list(
         self, d: Dict[str, Dict[str, str]], input: bool = False
     ) -> List[Optional[str]]:
         """
@@ -1495,7 +1495,7 @@ 

Source code for deepcave.plugins

         return result
 
     @interactive
-    def _dict_as_key(self, d: Dict[str, Any], remove_filters: bool = False) -> str:
+    def _dict_as_key(self, d: Dict[str, Any], remove_filters: bool = False) -> str:
         """
         Convert a dictionary to a key. Only ids from self.inputs are considered.
 
@@ -1528,7 +1528,7 @@ 

Source code for deepcave.plugins

 
         return string_to_hash(str(new_d))
 
-    def _cast_inputs(self, inputs: Dict[str, Dict[str, str]]) -> Dict[str, Dict[str, str]]:
+    def _cast_inputs(self, inputs: Dict[str, Dict[str, str]]) -> Dict[str, Dict[str, str]]:
         """
         Cast the inputs based on `self.inputs`.
 
@@ -1563,7 +1563,7 @@ 

Source code for deepcave.plugins

 
         return casted_inputs
 
-    def _clean_inputs(self, inputs: Dict[str, Any]) -> Dict[str, Any]:
+    def _clean_inputs(self, inputs: Dict[str, Any]) -> Dict[str, Any]:
         """
         Clean the given inputs s.t. only the first value is used.
 
@@ -1610,7 +1610,7 @@ 

Source code for deepcave.plugins

 
     @property
     @interactive
-    def runs(self) -> List[AbstractRun]:
+    def runs(self) -> List[AbstractRun]:
         """
         Get the runs as a list.
 
@@ -1619,13 +1619,13 @@ 

Source code for deepcave.plugins

         List[AbstractRun]
             The list with the runs.
         """
-        from deepcave import run_handler
+        from deepcave import run_handler
 
         return run_handler.get_runs()
 
     @property
     @interactive
-    def groups(self) -> List[Group]:
+    def groups(self) -> List[Group]:
         """
         Get the groups as a list.
 
@@ -1634,13 +1634,13 @@ 

Source code for deepcave.plugins

         List[Group]
             The list with the groups.
         """
-        from deepcave import run_handler
+        from deepcave import run_handler
 
         return run_handler.get_groups()
 
     @property
     @interactive
-    def all_runs(self) -> List[AbstractRun]:
+    def all_runs(self) -> List[AbstractRun]:
         """
         Get all runs and include the groups as a list.
 
@@ -1649,14 +1649,14 @@ 

Source code for deepcave.plugins

         List[AbstractRun]
             The list with all runs and included groups.
         """
-        from deepcave import run_handler
+        from deepcave import run_handler
 
         return run_handler.get_runs(include_groups=True)
 
 
[docs] @interactive - def __call__(self, render_button: bool = False) -> List[Component]: + def __call__(self, render_button: bool = False) -> List[Component]: """ Return the components for the plugin. @@ -1679,7 +1679,7 @@

Source code for deepcave.plugins

         FileNotFoundError
             If the help file can not be found.
         """
-        from deepcave import notification
+        from deepcave import notification
 
         # Reset runtime variables
         self.previous_inputs = {}
@@ -1774,7 +1774,7 @@ 

Source code for deepcave.plugins

             )
         ]
 
-        def register_in(a: str, b: Union[List[str], str]) -> str:
+        def register_in(a: str, b: Union[List[str], str]) -> str:
             """
             Register the given input.
 
@@ -1868,7 +1868,7 @@ 

Source code for deepcave.plugins

 [docs]
     @staticmethod
     @interactive
-    def get_run_input_layout(register: Callable) -> Component:
+    def get_run_input_layout(register: Callable) -> Component:
         """
         Generate the run selection input.
 
@@ -1899,7 +1899,7 @@ 

Source code for deepcave.plugins

 [docs]
     @staticmethod
     @interactive
-    def load_run_inputs(
+    def load_run_inputs(
         runs: List[AbstractRun],
         groups: List[Group],
         check_run_compatibility: Callable[[AbstractRun], bool],
@@ -1964,7 +1964,7 @@ 

Source code for deepcave.plugins

 
[docs] @interactive - def get_selected_runs(self, inputs: Dict[str, Any]) -> List[AbstractRun]: + def get_selected_runs(self, inputs: Dict[str, Any]) -> List[AbstractRun]: """ Parse selected runs from inputs. @@ -1986,7 +1986,7 @@

Source code for deepcave.plugins

         PreventUpdate
             If `activate_run_selection` is set but `run` is not available.
         """
-        from deepcave import run_handler
+        from deepcave import run_handler
 
         # Special case: If run selection is active
         # Don't update anything if the inputs haven't changed
@@ -2010,7 +2010,7 @@ 

Source code for deepcave.plugins

 
 
[docs] - def load_inputs(self) -> Dict[str, Any]: + def load_inputs(self) -> Dict[str, Any]: """ Load the content for the defined inputs in `get_input_layout` and `get_filter_layout`. @@ -2028,7 +2028,7 @@

Source code for deepcave.plugins

 
 
[docs] - def load_dependency_inputs( + def load_dependency_inputs( self, run: Optional[Union[AbstractRun, List[AbstractRun]]], previous_inputs: Dict[str, Any], @@ -2065,7 +2065,7 @@

Source code for deepcave.plugins

 
[docs] @staticmethod - def get_input_layout(register: Callable) -> List[Component]: + def get_input_layout(register: Callable) -> List[Component]: """ Layout for the input block. @@ -2086,7 +2086,7 @@

Source code for deepcave.plugins

 
[docs] @staticmethod - def get_filter_layout(register: Callable) -> List[Component]: + def get_filter_layout(register: Callable) -> List[Component]: """ Layout for the filter block. @@ -2107,7 +2107,7 @@

Source code for deepcave.plugins

 
[docs] @staticmethod - def get_output_layout(register: Callable) -> Optional[Union[Component, List[Component]]]: + def get_output_layout(register: Callable) -> Optional[Union[Component, List[Component]]]: """ Layout for the output block. @@ -2128,7 +2128,7 @@

Source code for deepcave.plugins

 
[docs] @staticmethod - def load_outputs( + def load_outputs( runs: Union[AbstractRun, Dict[str, AbstractRun]], inputs: Dict[str, Dict[str, str]], outputs: Dict[str, Union[str, Dict[str, str]]], @@ -2165,7 +2165,7 @@

Source code for deepcave.plugins

 
[docs] @staticmethod - def process(run: AbstractRun, inputs: Dict[str, Any]) -> Dict[str, Any]: + def process(run: AbstractRun, inputs: Dict[str, Any]) -> Dict[str, Any]: """ Return raw data based on a run and input data. @@ -2197,7 +2197,7 @@

Source code for deepcave.plugins

 
[docs] @classmethod - def generate_outputs( + def generate_outputs( cls, runs: Union[AbstractRun, List[AbstractRun]], inputs: Dict[str, Any] ) -> Union[Dict[str, Any], Dict[str, Dict[str, Any]]]: """ @@ -2245,7 +2245,7 @@

Source code for deepcave.plugins

 
 
[docs] - def generate_inputs(self, **kwargs: Any) -> Dict[str, Any]: + def generate_inputs(self, **kwargs: Any) -> Dict[str, Any]: """ Generate inputs for the `process` and `load_outputs` required for api mode. @@ -2322,7 +2322,7 @@

Source code for deepcave.plugins

     
     
     
diff --git a/main/_modules/deepcave/plugins/dynamic.html b/main/_modules/deepcave/plugins/dynamic.html
index 42c7b160..95ae4daa 100644
--- a/main/_modules/deepcave/plugins/dynamic.html
+++ b/main/_modules/deepcave/plugins/dynamic.html
@@ -21,7 +21,7 @@
       
 
     
-    
+    
     
     
     
@@ -824,19 +824,19 @@ 

Source code for deepcave.plugins.dynamic

     - DynamicPlugin: This class provides a dynamic plugin object.
 """
 
-from abc import ABC
-from typing import Any, List
+from abc import ABC
+from typing import Any, List
 
-from dash.dependencies import Input, Output
-from dash.development.base_component import Component
+from dash.dependencies import Input, Output
+from dash.development.base_component import Component
 
-from deepcave import interactive
-from deepcave.plugins import Plugin
+from deepcave import interactive
+from deepcave.plugins import Plugin
 
 
 
[docs] -class DynamicPlugin(Plugin, ABC): +class DynamicPlugin(Plugin, ABC): """ Provide a dynamic plugin object. @@ -860,13 +860,13 @@

Source code for deepcave.plugins.dynamic

 
     use_cache = True
 
-    def __init__(self) -> None:
+    def __init__(self) -> None:
         super().__init__()
 
 
[docs] @interactive - def register_callbacks(self) -> None: + def register_callbacks(self) -> None: """ Register basic callbacks for the plugin. @@ -877,7 +877,7 @@

Source code for deepcave.plugins.dynamic

         - Callback to be redirected to the config if clicked on it.
         """
         super().register_callbacks()
-        from deepcave import app, c, rc
+        from deepcave import app, c, rc
 
         outputs = []
         for id, attribute in self.outputs:
@@ -889,7 +889,7 @@ 

Source code for deepcave.plugins.dynamic

 
         # Register updates from inputs
         @app.callback(outputs, inputs)  # type: ignore
-        def plugin_output_update(_: Any, *inputs_list: str) -> Any:
+        def plugin_output_update(_: Any, *inputs_list: str) -> Any:
             """
             Update the outputs.
 
@@ -940,7 +940,7 @@ 

Source code for deepcave.plugins.dynamic

 
[docs] @interactive - def __call__(self) -> List[Component]: # type: ignore + def __call__(self) -> List[Component]: # type: ignore """ Return the components for the plugin. @@ -975,7 +975,7 @@

Source code for deepcave.plugins.dynamic

     
     
     
diff --git a/main/_modules/deepcave/plugins/hyperparameter/ablation_paths.html b/main/_modules/deepcave/plugins/hyperparameter/ablation_paths.html
index 2438ee4b..1cdfc78e 100644
--- a/main/_modules/deepcave/plugins/hyperparameter/ablation_paths.html
+++ b/main/_modules/deepcave/plugins/hyperparameter/ablation_paths.html
@@ -21,7 +21,7 @@
       
 
     
-    
+    
     
     
     
@@ -825,32 +825,32 @@ 

Source code for deepcave.plugins.hyperparameter.ablation_paths

- Ablation_Paths: This class provides a plugin for the visualization of the ablation paths. """ -from typing import Any, Callable, Dict, List, Union +from typing import Any, Callable, Dict, List, Union -import math -from io import StringIO +import math +from io import StringIO -import dash_bootstrap_components as dbc -import numpy as np -import pandas as pd -import plotly.express as px -import plotly.graph_objs as go -from dash import dcc, html -from dash.exceptions import PreventUpdate +import dash_bootstrap_components as dbc +import numpy as np +import pandas as pd +import plotly.express as px +import plotly.graph_objs as go +from dash import dcc, html +from dash.exceptions import PreventUpdate -from deepcave import config -from deepcave.evaluators.ablation import Ablation -from deepcave.evaluators.mo_ablation import MOAblation -from deepcave.plugins.static import StaticPlugin -from deepcave.runs import AbstractRun -from deepcave.utils.cast import optional_int -from deepcave.utils.layout import get_checklist_options, get_select_options, help_button -from deepcave.utils.styled_plotty import get_color, save_image +from deepcave import config +from deepcave.evaluators.ablation import Ablation +from deepcave.evaluators.mo_ablation import MOAblation +from deepcave.plugins.static import StaticPlugin +from deepcave.runs import AbstractRun +from deepcave.utils.cast import optional_int +from deepcave.utils.layout import get_checklist_options, get_select_options, help_button +from deepcave.utils.styled_plotty import get_color, save_image
[docs] -class AblationPaths(StaticPlugin): +class AblationPaths(StaticPlugin): """ Provide a plugin for the visualization of the ablation paths. @@ -867,7 +867,7 @@

Source code for deepcave.plugins.hyperparameter.ablation_paths

[docs] @staticmethod - def get_input_layout(register: Callable) -> List[Any]: + def get_input_layout(register: Callable) -> List[Any]: """ Get the layout for the input block. @@ -926,7 +926,7 @@

Source code for deepcave.plugins.hyperparameter.ablation_paths

[docs] @staticmethod - def get_filter_layout(register: Callable) -> List[dbc.Row]: + def get_filter_layout(register: Callable) -> List[dbc.Row]: """ Get the layout for the filter block. @@ -1002,7 +1002,7 @@

Source code for deepcave.plugins.hyperparameter.ablation_paths

[docs] - def load_inputs(self) -> Dict[str, Dict[str, Any]]: + def load_inputs(self) -> Dict[str, Dict[str, Any]]: """ Load the content for the defined inputs in 'get_input_layout' and 'get_filter_layout'. @@ -1025,7 +1025,7 @@

Source code for deepcave.plugins.hyperparameter.ablation_paths

[docs] - def load_dependency_inputs(self, run, _, inputs) -> Dict[str, Any]: # type: ignore # noqa: E501 + def load_dependency_inputs(self, run, _, inputs) -> Dict[str, Any]: # type: ignore # noqa: E501 """ Works like 'load_inputs' but called after inputs have changed. @@ -1102,7 +1102,7 @@

Source code for deepcave.plugins.hyperparameter.ablation_paths

[docs] @staticmethod - def process(run: AbstractRun, inputs: Dict[str, Any]) -> Dict[str, Any]: + def process(run: AbstractRun, inputs: Dict[str, Any]) -> Dict[str, Any]: """ Return raw data based on the run and input data. @@ -1168,7 +1168,7 @@

Source code for deepcave.plugins.hyperparameter.ablation_paths

[docs] @staticmethod - def get_output_layout(register: Callable) -> List[dcc.Graph]: + def get_output_layout(register: Callable) -> List[dcc.Graph]: """ Get the layout for the output block. @@ -1200,7 +1200,7 @@

Source code for deepcave.plugins.hyperparameter.ablation_paths

[docs] @staticmethod - def load_outputs(run, inputs, outputs) -> List[go.Figure]: # type: ignore + def load_outputs(run, inputs, outputs) -> List[go.Figure]: # type: ignore """ Read in raw data and prepare for layout. @@ -1330,7 +1330,7 @@

Source code for deepcave.plugins.hyperparameter.ablation_paths

[docs] @staticmethod - def load_outputs_mo(run, inputs, outputs) -> List[go.Figure]: # type: ignore + def load_outputs_mo(run, inputs, outputs) -> List[go.Figure]: # type: ignore """ Multi-objective case for read in raw data and prepare for layout. @@ -1473,7 +1473,7 @@

Source code for deepcave.plugins.hyperparameter.ablation_paths

diff --git a/main/_modules/deepcave/plugins/hyperparameter/configuration_cube.html b/main/_modules/deepcave/plugins/hyperparameter/configuration_cube.html index 6bcc0807..cf7ab2fa 100644 --- a/main/_modules/deepcave/plugins/hyperparameter/configuration_cube.html +++ b/main/_modules/deepcave/plugins/hyperparameter/configuration_cube.html @@ -21,7 +21,7 @@ - + @@ -824,27 +824,27 @@

Source code for deepcave.plugins.hyperparameter.configuration_cube

- ConfigurationCube: A plugin for visualizing a configuration cube. """ -from typing import Any, Callable, Dict, List, Tuple +from typing import Any, Callable, Dict, List, Tuple -import dash_bootstrap_components as dbc -import numpy as np -import pandas as pd -import plotly.graph_objs as go -from dash import dcc, html -from dash.exceptions import PreventUpdate +import dash_bootstrap_components as dbc +import numpy as np +import pandas as pd +import plotly.graph_objs as go +from dash import dcc, html +from dash.exceptions import PreventUpdate -from deepcave import config -from deepcave.plugins.dynamic import DynamicPlugin -from deepcave.runs import AbstractRun, Status -from deepcave.utils.compression import deserialize, serialize -from deepcave.utils.layout import ( +from deepcave import config +from deepcave.plugins.dynamic import DynamicPlugin +from deepcave.runs import AbstractRun, Status +from deepcave.utils.compression import deserialize, serialize +from deepcave.utils.layout import ( get_checklist_options, get_select_options, get_slider_marks, help_button, ) -from deepcave.utils.logs import get_logger -from deepcave.utils.styled_plotty import ( +from deepcave.utils.logs import get_logger +from deepcave.utils.styled_plotty import ( get_hovertext_from_config, get_hyperparameter_ticks, save_image, @@ -855,7 +855,7 @@

Source code for deepcave.plugins.hyperparameter.configuration_cube

[docs] -class ConfigurationCube(DynamicPlugin): +class ConfigurationCube(DynamicPlugin): """A plugin for visualizing a configuration cube.""" id = "ccube" @@ -867,7 +867,7 @@

Source code for deepcave.plugins.hyperparameter.configuration_cube

[docs] @staticmethod - def get_input_layout(register: Callable) -> List[dbc.Row]: + def get_input_layout(register: Callable) -> List[dbc.Row]: """ Get the layout for the input block. @@ -922,7 +922,7 @@

Source code for deepcave.plugins.hyperparameter.configuration_cube

[docs] @staticmethod - def get_filter_layout(register: Callable) -> List[html.Div]: + def get_filter_layout(register: Callable) -> List[html.Div]: """ Get the layout for the filter block. @@ -965,7 +965,7 @@

Source code for deepcave.plugins.hyperparameter.configuration_cube

[docs] - def load_inputs(self) -> Dict[str, Any]: + def load_inputs(self) -> Dict[str, Any]: """ Load the content for the defined inputs in 'get_input_layout' and 'get_filter_layout'. @@ -986,7 +986,7 @@

Source code for deepcave.plugins.hyperparameter.configuration_cube

[docs] - def load_dependency_inputs(self, run, _, inputs) -> Dict[str, Any]: # type: ignore + def load_dependency_inputs(self, run, _, inputs) -> Dict[str, Any]: # type: ignore """ Work like 'load_inputs' but called after inputs have changed. @@ -1074,7 +1074,7 @@

Source code for deepcave.plugins.hyperparameter.configuration_cube

[docs] @staticmethod - def process(run: AbstractRun, inputs: Dict[str, Any]) -> Dict[str, str]: + def process(run: AbstractRun, inputs: Dict[str, Any]) -> Dict[str, str]: """ Return raw data based on the run and input data. @@ -1112,7 +1112,7 @@

Source code for deepcave.plugins.hyperparameter.configuration_cube

[docs] @staticmethod - def get_output_layout(register: Callable) -> Tuple[dcc.Graph,]: + def get_output_layout(register: Callable) -> Tuple[dcc.Graph,]: """ Get the layout for the output block. @@ -1139,7 +1139,7 @@

Source code for deepcave.plugins.hyperparameter.configuration_cube

[docs] @staticmethod - def load_outputs(run, inputs, outputs) -> go.Figure: # type: ignore + def load_outputs(run, inputs, outputs) -> go.Figure: # type: ignore """ Read in the raw data and prepares them for the layout. @@ -1297,7 +1297,7 @@

Source code for deepcave.plugins.hyperparameter.configuration_cube

diff --git a/main/_modules/deepcave/plugins/hyperparameter/importances.html b/main/_modules/deepcave/plugins/hyperparameter/importances.html index e9b42d59..34f5dc38 100644 --- a/main/_modules/deepcave/plugins/hyperparameter/importances.html +++ b/main/_modules/deepcave/plugins/hyperparameter/importances.html @@ -21,7 +21,7 @@ - + @@ -825,37 +825,37 @@

Source code for deepcave.plugins.hyperparameter.importances

- Importances: This class provides a plugin for the visualization of the importances. """ -from typing import Any, Callable, Dict, List, Optional, Union - -from io import StringIO - -import dash_bootstrap_components as dbc -import numpy as np -import pandas as pd -import plotly.express as px -import plotly.graph_objs as go -from ConfigSpace import ConfigurationSpace, Constant -from dash import dcc, html -from dash.exceptions import PreventUpdate - -from deepcave import config -from deepcave.evaluators.fanova import fANOVA as GlobalEvaluator -from deepcave.evaluators.lpi import LPI as LocalEvaluator -from deepcave.evaluators.mo_fanova import MOfANOVA -from deepcave.evaluators.mo_lpi import MOLPI -from deepcave.plugins.static import StaticPlugin -from deepcave.runs import AbstractRun -from deepcave.utils.cast import optional_int -from deepcave.utils.layout import get_checklist_options, get_select_options, help_button -from deepcave.utils.logs import get_logger -from deepcave.utils.styled_plotty import get_color, save_image +from typing import Any, Callable, Dict, List, Optional, Union + +from io import StringIO + +import dash_bootstrap_components as dbc +import numpy as np +import pandas as pd +import plotly.express as px +import plotly.graph_objs as go +from ConfigSpace import ConfigurationSpace, Constant +from dash import dcc, html +from dash.exceptions import PreventUpdate + +from deepcave import config +from deepcave.evaluators.fanova import fANOVA as GlobalEvaluator +from deepcave.evaluators.lpi import LPI as LocalEvaluator +from deepcave.evaluators.mo_fanova import MOfANOVA +from deepcave.evaluators.mo_lpi import MOLPI +from deepcave.plugins.static import StaticPlugin +from deepcave.runs import AbstractRun +from deepcave.utils.cast import optional_int +from deepcave.utils.layout import get_checklist_options, get_select_options, help_button +from deepcave.utils.logs import get_logger +from deepcave.utils.styled_plotty import get_color, save_image logger = get_logger(__name__)
[docs] -class Importances(StaticPlugin): +class Importances(StaticPlugin): """ Provide a plugin for the visualization of the importances. @@ -874,7 +874,7 @@

Source code for deepcave.plugins.hyperparameter.importances

[docs] @staticmethod - def get_input_layout(register: Callable) -> List[Any]: + def get_input_layout(register: Callable) -> List[Any]: """ Get the layout for the input block. @@ -953,7 +953,7 @@

Source code for deepcave.plugins.hyperparameter.importances

[docs] @staticmethod - def get_filter_layout(register: Callable) -> List[html.Div]: + def get_filter_layout(register: Callable) -> List[html.Div]: """ Get the layout for the filter block. @@ -1004,7 +1004,7 @@

Source code for deepcave.plugins.hyperparameter.importances

[docs] - def load_inputs(self) -> Dict[str, Dict[str, Any]]: + def load_inputs(self) -> Dict[str, Dict[str, Any]]: """ Load the content for the defined inputs in 'get_input_layout' and 'get_filter_layout'. @@ -1037,7 +1037,7 @@

Source code for deepcave.plugins.hyperparameter.importances

[docs] - def load_dependency_inputs(self, run, _, inputs) -> Dict[str, Any]: # type: ignore # noqa: E501 + def load_dependency_inputs(self, run, _, inputs) -> Dict[str, Any]: # type: ignore # noqa: E501 """ Works like 'load_inputs' but called after inputs have changed. @@ -1125,7 +1125,7 @@

Source code for deepcave.plugins.hyperparameter.importances

[docs] @staticmethod - def process(run: AbstractRun, inputs: Dict[str, Any]) -> Dict[str, Any]: + def process(run: AbstractRun, inputs: Dict[str, Any]) -> Dict[str, Any]: """ Return raw data based on the run and input data. @@ -1234,7 +1234,7 @@

Source code for deepcave.plugins.hyperparameter.importances

[docs] @staticmethod - def get_output_layout(register: Callable) -> dcc.Graph: + def get_output_layout(register: Callable) -> dcc.Graph: """ Get the layout for the output block. @@ -1259,7 +1259,7 @@

Source code for deepcave.plugins.hyperparameter.importances

[docs] @staticmethod - def load_outputs(run, inputs, outputs) -> go.Figure: # type: ignore + def load_outputs(run, inputs, outputs) -> go.Figure: # type: ignore """ Read in raw data and prepare for layout. @@ -1358,7 +1358,7 @@

Source code for deepcave.plugins.hyperparameter.importances

[docs] @staticmethod - def load_ouputs_mo_fanova(run, inputs, outputs) -> go.Figure: # type: ignore + def load_ouputs_mo_fanova(run, inputs, outputs) -> go.Figure: # type: ignore """ Multi-objective case for read in raw data and prepare for layout. @@ -1503,7 +1503,7 @@

Source code for deepcave.plugins.hyperparameter.importances

diff --git a/main/_modules/deepcave/plugins/hyperparameter/parallel_coordinates.html b/main/_modules/deepcave/plugins/hyperparameter/parallel_coordinates.html index 0ee6fe38..5f7ab890 100644 --- a/main/_modules/deepcave/plugins/hyperparameter/parallel_coordinates.html +++ b/main/_modules/deepcave/plugins/hyperparameter/parallel_coordinates.html @@ -21,7 +21,7 @@ - + @@ -823,32 +823,32 @@

Source code for deepcave.plugins.hyperparameter.parallel_coordinates

- ParallelCoordinates : Can be used for visualizing the parallel coordinates. """ -from typing import Any, Callable, Dict, List +from typing import Any, Callable, Dict, List -from collections import defaultdict +from collections import defaultdict -import dash_bootstrap_components as dbc -import numpy as np -import pandas as pd -import plotly.graph_objs as go -from dash import dcc, html -from dash.exceptions import PreventUpdate +import dash_bootstrap_components as dbc +import numpy as np +import pandas as pd +import plotly.graph_objs as go +from dash import dcc, html +from dash.exceptions import PreventUpdate -from deepcave import config -from deepcave.constants import VALUE_RANGE -from deepcave.evaluators.fanova import fANOVA -from deepcave.plugins.static import StaticPlugin -from deepcave.utils.compression import deserialize, serialize -from deepcave.utils.layout import get_checklist_options, get_select_options, help_button -from deepcave.utils.logs import get_logger -from deepcave.utils.styled_plotty import get_hyperparameter_ticks, save_image +from deepcave import config +from deepcave.constants import VALUE_RANGE +from deepcave.evaluators.fanova import fANOVA +from deepcave.plugins.static import StaticPlugin +from deepcave.utils.compression import deserialize, serialize +from deepcave.utils.layout import get_checklist_options, get_select_options, help_button +from deepcave.utils.logs import get_logger +from deepcave.utils.styled_plotty import get_hyperparameter_ticks, save_image logger = get_logger(__name__)
[docs] -class ParallelCoordinates(StaticPlugin): +class ParallelCoordinates(StaticPlugin): """Can be used for visualizing the parallel coordinates.""" id = "parallel_coordinates" @@ -860,7 +860,7 @@

Source code for deepcave.plugins.hyperparameter.parallel_coordinates

[docs] @staticmethod - def get_input_layout(register: Callable) -> List[Any]: + def get_input_layout(register: Callable) -> List[Any]: """ Get the layout for the input block. @@ -929,7 +929,7 @@

Source code for deepcave.plugins.hyperparameter.parallel_coordinates

[docs] @staticmethod - def get_filter_layout(register: Callable) -> List[Any]: + def get_filter_layout(register: Callable) -> List[Any]: """ Get the layout for the filter block. @@ -987,7 +987,7 @@

Source code for deepcave.plugins.hyperparameter.parallel_coordinates

[docs] - def load_inputs(self) -> Dict[str, Dict[str, Any]]: + def load_inputs(self) -> Dict[str, Dict[str, Any]]: """ Load the content for the defined inputs in 'get_input_layout' and 'get_filter_layout'. @@ -1011,7 +1011,7 @@

Source code for deepcave.plugins.hyperparameter.parallel_coordinates

[docs] - def load_dependency_inputs(self, run, _, inputs) -> Dict[str, Any]: # type: ignore + def load_dependency_inputs(self, run, _, inputs) -> Dict[str, Any]: # type: ignore """ Work like 'load_inputs' but called after inputs have changed. @@ -1091,7 +1091,7 @@

Source code for deepcave.plugins.hyperparameter.parallel_coordinates

[docs] @staticmethod - def process(run, inputs) -> Dict[str, Any]: # type: ignore + def process(run, inputs) -> Dict[str, Any]: # type: ignore """ Return raw data based on a run and input data. @@ -1141,7 +1141,7 @@

Source code for deepcave.plugins.hyperparameter.parallel_coordinates

[docs] @staticmethod - def get_output_layout(register: Callable) -> dcc.Graph: + def get_output_layout(register: Callable) -> dcc.Graph: """ Get the layout for the output block. @@ -1166,7 +1166,7 @@

Source code for deepcave.plugins.hyperparameter.parallel_coordinates

[docs] @staticmethod - def load_outputs(run, inputs, outputs) -> go.Figure: # type: ignore + def load_outputs(run, inputs, outputs) -> go.Figure: # type: ignore """ Read in the raw data and prepare them for the layout. @@ -1289,7 +1289,7 @@

Source code for deepcave.plugins.hyperparameter.parallel_coordinates

diff --git a/main/_modules/deepcave/plugins/hyperparameter/pdp.html b/main/_modules/deepcave/plugins/hyperparameter/pdp.html index 213b6def..c947820e 100644 --- a/main/_modules/deepcave/plugins/hyperparameter/pdp.html +++ b/main/_modules/deepcave/plugins/hyperparameter/pdp.html @@ -21,7 +21,7 @@ - + @@ -831,20 +831,20 @@

Source code for deepcave.plugins.hyperparameter.pdp

MAX_SHOWN_SAMPLES : int """ -from typing import Any, Callable, Dict, List +from typing import Any, Callable, Dict, List -import dash_bootstrap_components as dbc -import numpy as np -import plotly.graph_objs as go -from dash import dcc, html -from pyPDP.algorithms.pdp import PDP +import dash_bootstrap_components as dbc +import numpy as np +import plotly.graph_objs as go +from dash import dcc, html +from pyPDP.algorithms.pdp import PDP -from deepcave import config -from deepcave.evaluators.epm.random_forest_surrogate import RandomForestSurrogate -from deepcave.plugins.static import StaticPlugin -from deepcave.runs import Status -from deepcave.utils.layout import get_checklist_options, get_select_options, help_button -from deepcave.utils.styled_plotty import get_color, get_hyperparameter_ticks, save_image +from deepcave import config +from deepcave.evaluators.epm.random_forest_surrogate import RandomForestSurrogate +from deepcave.plugins.static import StaticPlugin +from deepcave.runs import Status +from deepcave.utils.layout import get_checklist_options, get_select_options, help_button +from deepcave.utils.styled_plotty import get_color, get_hyperparameter_ticks, save_image GRID_POINTS_PER_AXIS = 20 SAMPLES_PER_HP = 10 @@ -854,7 +854,7 @@

Source code for deepcave.plugins.hyperparameter.pdp

[docs] -class PartialDependencies(StaticPlugin): +class PartialDependencies(StaticPlugin): """ Generate Partial Dependency Plots (PDP). @@ -871,7 +871,7 @@

Source code for deepcave.plugins.hyperparameter.pdp

[docs] @staticmethod - def get_input_layout(register: Callable) -> List[dbc.Row]: + def get_input_layout(register: Callable) -> List[dbc.Row]: """ Get the layout for the input block. @@ -951,7 +951,7 @@

Source code for deepcave.plugins.hyperparameter.pdp

[docs] @staticmethod - def get_filter_layout(register: Callable) -> List[Any]: + def get_filter_layout(register: Callable) -> List[Any]: """ Get the layout for the filter block. @@ -1005,7 +1005,7 @@

Source code for deepcave.plugins.hyperparameter.pdp

[docs] - def load_inputs(self) -> Dict[str, Dict[str, Any]]: + def load_inputs(self) -> Dict[str, Dict[str, Any]]: """ Load the content for the defined inputs in 'get_input_layout' and 'get_filter_layout'. @@ -1026,7 +1026,7 @@

Source code for deepcave.plugins.hyperparameter.pdp

[docs] - def load_dependency_inputs(self, run, previous_inputs, inputs) -> Dict[str, Any]: # type: ignore # noqa: E501 + def load_dependency_inputs(self, run, previous_inputs, inputs) -> Dict[str, Any]: # type: ignore # noqa: E501 """ Work like 'load_inputs' but called after inputs have changed. @@ -1086,7 +1086,7 @@

Source code for deepcave.plugins.hyperparameter.pdp

[docs] @staticmethod - def process(run, inputs) -> Dict[str, Any]: # type: ignore + def process(run, inputs) -> Dict[str, Any]: # type: ignore """ Return raw data based on a run and the input data. @@ -1184,7 +1184,7 @@

Source code for deepcave.plugins.hyperparameter.pdp

[docs] @staticmethod - def get_output_layout(register: Callable) -> dcc.Graph: + def get_output_layout(register: Callable) -> dcc.Graph: """ Get the layout for the output block. @@ -1209,7 +1209,7 @@

Source code for deepcave.plugins.hyperparameter.pdp

[docs] @staticmethod - def get_pdp_figure( # type: ignore + def get_pdp_figure( # type: ignore run, inputs, outputs, show_confidence, show_ice, title=None, fontsize=None ) -> go.Figure: """ @@ -1364,7 +1364,7 @@

Source code for deepcave.plugins.hyperparameter.pdp

[docs] @staticmethod - def load_outputs(run, inputs, outputs): # type: ignore + def load_outputs(run, inputs, outputs): # type: ignore """ Read the raw data and prepare it for the layout. @@ -1417,7 +1417,7 @@

Source code for deepcave.plugins.hyperparameter.pdp

diff --git a/main/_modules/deepcave/plugins/hyperparameter/symbolic_explanations.html b/main/_modules/deepcave/plugins/hyperparameter/symbolic_explanations.html index 16cc4b48..2e36c405 100644 --- a/main/_modules/deepcave/plugins/hyperparameter/symbolic_explanations.html +++ b/main/_modules/deepcave/plugins/hyperparameter/symbolic_explanations.html @@ -21,7 +21,7 @@ - + @@ -831,24 +831,24 @@

Source code for deepcave.plugins.hyperparameter.symbolic_explanations

MAX_SHOWN_SAMPLES : int """ -from typing import Any, Callable, Dict, List, Union - -import dash_bootstrap_components as dbc -import numpy as np -import plotly.graph_objs as go -from ConfigSpace.hyperparameters import CategoricalHyperparameter -from dash import dcc, html -from gplearn.genetic import SymbolicRegressor -from pyPDP.algorithms.pdp import PDP - -from deepcave import config -from deepcave.evaluators.epm.random_forest_surrogate import RandomForestSurrogate -from deepcave.plugins.hyperparameter.pdp import PartialDependencies -from deepcave.plugins.static import StaticPlugin -from deepcave.runs import Status -from deepcave.utils.layout import get_checklist_options, get_select_options, help_button -from deepcave.utils.styled_plotty import get_color, get_hyperparameter_ticks, save_image -from deepcave.utils.symbolic_regression import convert_symb, get_function_set +from typing import Any, Callable, Dict, List, Union + +import dash_bootstrap_components as dbc +import numpy as np +import plotly.graph_objs as go +from ConfigSpace.hyperparameters import CategoricalHyperparameter +from dash import dcc, html +from gplearn.genetic import SymbolicRegressor +from pyPDP.algorithms.pdp import PDP + +from deepcave import config +from deepcave.evaluators.epm.random_forest_surrogate import RandomForestSurrogate +from deepcave.plugins.hyperparameter.pdp import PartialDependencies +from deepcave.plugins.static import StaticPlugin +from deepcave.runs import Status +from deepcave.utils.layout import get_checklist_options, get_select_options, help_button +from deepcave.utils.styled_plotty import get_color, get_hyperparameter_ticks, save_image +from deepcave.utils.symbolic_regression import convert_symb, get_function_set SR_TRAIN_POINTS_PER_AXIS = 20 SAMPLES_PER_HP = 10 @@ -858,7 +858,7 @@

Source code for deepcave.plugins.hyperparameter.symbolic_explanations

[docs] -class SymbolicExplanations(StaticPlugin): +class SymbolicExplanations(StaticPlugin): """ Generate Symbolic Explanations. @@ -875,7 +875,7 @@

Source code for deepcave.plugins.hyperparameter.symbolic_explanations

[docs] @staticmethod - def get_input_layout(register: Callable) -> List[Union[dbc.Row, html.Details]]: + def get_input_layout(register: Callable) -> List[Union[dbc.Row, html.Details]]: """ Get the layout for the input block. @@ -1046,7 +1046,7 @@

Source code for deepcave.plugins.hyperparameter.symbolic_explanations

[docs] - def load_inputs(self) -> Dict[str, Dict[str, Any]]: + def load_inputs(self) -> Dict[str, Dict[str, Any]]: """ Load the content for the defined inputs in 'get_input_layout'. @@ -1073,7 +1073,7 @@

Source code for deepcave.plugins.hyperparameter.symbolic_explanations

[docs] - def load_dependency_inputs(self, run, previous_inputs, inputs) -> Dict[str, Any]: # type: ignore # noqa: E501 + def load_dependency_inputs(self, run, previous_inputs, inputs) -> Dict[str, Any]: # type: ignore # noqa: E501 """ Work like 'load_inputs' but called after inputs have changed. @@ -1142,7 +1142,7 @@

Source code for deepcave.plugins.hyperparameter.symbolic_explanations

[docs] @staticmethod - def process(run, inputs) -> Dict[str, Any]: # type: ignore + def process(run, inputs) -> Dict[str, Any]: # type: ignore """ Return raw data based on a run and the input data. @@ -1305,7 +1305,7 @@

Source code for deepcave.plugins.hyperparameter.symbolic_explanations

[docs] @staticmethod - def get_output_layout(register: Callable) -> List[dcc.Graph]: + def get_output_layout(register: Callable) -> List[dcc.Graph]: """ Get the layout for the output block. @@ -1337,7 +1337,7 @@

Source code for deepcave.plugins.hyperparameter.symbolic_explanations

[docs] @staticmethod - def load_outputs(run, inputs, outputs) -> List[go.Figure]: # type: ignore + def load_outputs(run, inputs, outputs) -> List[go.Figure]: # type: ignore """ Read the raw data and prepare it for the layout. @@ -1482,7 +1482,7 @@

Source code for deepcave.plugins.hyperparameter.symbolic_explanations

diff --git a/main/_modules/deepcave/plugins/static.html b/main/_modules/deepcave/plugins/static.html index 4e618f4a..d6a6381b 100644 --- a/main/_modules/deepcave/plugins/static.html +++ b/main/_modules/deepcave/plugins/static.html @@ -21,7 +21,7 @@ - + @@ -825,28 +825,28 @@

Source code for deepcave.plugins.static

     - StaticPlugin: This class provides a static plugin object.
 """
 
-from abc import ABC
-from typing import Any, Callable, Dict, List, Optional, Tuple
+from abc import ABC
+from typing import Any, Callable, Dict, List, Optional, Tuple
 
-import traceback
-from enum import Enum
+import traceback
+from enum import Enum
 
-import dash_bootstrap_components as dbc
-from dash import dcc, html
-from dash.dash import no_update
-from dash.dependencies import Input, Output, State
-from dash.development.base_component import Component
-from dash.exceptions import PreventUpdate
+import dash_bootstrap_components as dbc
+from dash import dcc, html
+from dash.dash import no_update
+from dash.dependencies import Input, Output, State
+from dash.development.base_component import Component
+from dash.exceptions import PreventUpdate
 
-from deepcave import interactive
-from deepcave.plugins import Plugin
-from deepcave.runs import AbstractRun
-from deepcave.utils.url import create_url
+from deepcave import interactive
+from deepcave.plugins import Plugin
+from deepcave.runs import AbstractRun
+from deepcave.utils.url import create_url
 
 
 
[docs] -class PluginState(Enum): +class PluginState(Enum): """An Enum to define the state of the Plugin.""" UNSET = -1 @@ -857,7 +857,7 @@

Source code for deepcave.plugins.static

 
 
 
-def _process(
+def _process(
     process: Callable[[AbstractRun, Any], None], run: AbstractRun, inputs: Dict[str, Any]
 ) -> None:
     """
@@ -888,7 +888,7 @@ 

Source code for deepcave.plugins.static

 
 
[docs] -class StaticPlugin(Plugin, ABC): +class StaticPlugin(Plugin, ABC): """ Provide a static plugin object. @@ -915,11 +915,11 @@

Source code for deepcave.plugins.static

         The caption for the button.
     """
 
-    def __init__(self) -> None:
+    def __init__(self) -> None:
         super().__init__()
         self._setup()
 
-    def _setup(self) -> None:
+    def _setup(self) -> None:
         """Set up the plugin."""
         self._state = PluginState.UNSET  # Set in the main loop to track what's going on right now
         self._previous_state: Optional[PluginState] = None  # Used for updating status
@@ -930,7 +930,7 @@ 

Source code for deepcave.plugins.static

 
[docs] @interactive - def register_callbacks(self) -> None: + def register_callbacks(self) -> None: """Register different callbacks.""" super().register_callbacks() self._callback_inputs_changed() @@ -939,9 +939,9 @@

Source code for deepcave.plugins.static

 
 
     @interactive
-    def _callback_inputs_changed(self) -> None:
+    def _callback_inputs_changed(self) -> None:
         """Handle callback if the inputs changed."""
-        from deepcave import app, c, queue, rc, run_handler
+        from deepcave import app, c, queue, rc, run_handler
 
         # Plugin specific outputs
         outputs = []
@@ -959,7 +959,7 @@ 

Source code for deepcave.plugins.static

 
         # Register updates from inputs
         @app.callback(outputs, inputs)  # type: ignore
-        def plugin_process(n_clicks: int, _: Any, *inputs_list: str) -> Optional[Any]:
+        def plugin_process(n_clicks: int, _: Any, *inputs_list: str) -> Optional[Any]:
             """Register updates from inputs."""
             self._blocked = True
             # Map the list `inputs_list` to a dict s.t.
@@ -1091,8 +1091,8 @@ 

Source code for deepcave.plugins.static

             raise PreventUpdate
 
     @interactive
-    def _callback_loop_trigger_main_loop(self) -> None:
-        from deepcave import app
+    def _callback_loop_trigger_main_loop(self) -> None:
+        from deepcave import app
 
         output = Output(self.get_internal_id("update-interval-output"), "data")
         inputs = [
@@ -1104,7 +1104,7 @@ 

Source code for deepcave.plugins.static

         # Especially not if it's blocked because PreventUpdate
         # prevent output updates from previous callback calls.
         @app.callback(output, inputs)  # type: ignore
-        def plugin_check_blocked(_: Any, data: Any) -> Any:
+        def plugin_check_blocked(_: Any, data: Any) -> Any:
             """
             Check if blocked.
 
@@ -1120,8 +1120,8 @@ 

Source code for deepcave.plugins.static

             return data + 1
 
     @interactive
-    def _callback_loop_update_status_label(self) -> None:
-        from deepcave import app, notification
+    def _callback_loop_update_status_label(self) -> None:
+        from deepcave import app, notification
 
         output = [
             Output(self.get_internal_id("update-button"), "children"),
@@ -1133,7 +1133,7 @@ 

Source code for deepcave.plugins.static

         # Update status label
         # Register updates from inputs
         @app.callback(output, input)  # type: ignore
-        def plugin_update_status(_: Any) -> Tuple[List[Any], Optional[Any], bool]:
+        def plugin_update_status(_: Any) -> Tuple[List[Any], Optional[Any], bool]:
             """Update the status of the plugin."""
             button_text = [html.Span(self.button_caption)]
 
@@ -1181,7 +1181,7 @@ 

Source code for deepcave.plugins.static

 
             return button_text, button, disabled
 
-    def _get_job_id(self, run_name: str, inputs_key: str) -> str:
+    def _get_job_id(self, run_name: str, inputs_key: str) -> str:
         """
         Get the job id.
 
@@ -1202,7 +1202,7 @@ 

Source code for deepcave.plugins.static

 
[docs] @interactive - def __call__(self) -> List[Component]: # type: ignore + def __call__(self) -> List[Component]: # type: ignore """ Return the components for the plugin. @@ -1213,7 +1213,7 @@

Source code for deepcave.plugins.static

         List[Component]
             Layout as list of components.
         """
-        from deepcave import config
+        from deepcave import config
 
         self._setup()
 
@@ -1247,7 +1247,7 @@ 

Source code for deepcave.plugins.static

     
     
     
diff --git a/main/_modules/deepcave/plugins/summary/configurations.html b/main/_modules/deepcave/plugins/summary/configurations.html
index 3d11d240..b38db70d 100644
--- a/main/_modules/deepcave/plugins/summary/configurations.html
+++ b/main/_modules/deepcave/plugins/summary/configurations.html
@@ -21,7 +21,7 @@
       
 
     
-    
+    
     
     
     
@@ -824,35 +824,35 @@ 

Source code for deepcave.plugins.summary.configurations

- Configurations: Visualize the characteristics of a configuration. """ -from typing import Any, Callable, Dict, List, Optional, Union +from typing import Any, Callable, Dict, List, Optional, Union -from collections import defaultdict +from collections import defaultdict -import dash_bootstrap_components as dbc -import numpy as np -import pandas as pd -import plotly.graph_objs as go -from dash import dcc, html +import dash_bootstrap_components as dbc +import numpy as np +import pandas as pd +import plotly.graph_objs as go +from dash import dcc, html -from deepcave import config -from deepcave.constants import VALUE_RANGE -from deepcave.plugins.dynamic import DynamicPlugin -from deepcave.runs import AbstractRun -from deepcave.runs.status import Status -from deepcave.utils.compression import deserialize, serialize -from deepcave.utils.layout import create_table, get_slider_marks -from deepcave.utils.styled_plotty import ( +from deepcave import config +from deepcave.constants import VALUE_RANGE +from deepcave.plugins.dynamic import DynamicPlugin +from deepcave.runs import AbstractRun +from deepcave.runs.status import Status +from deepcave.utils.compression import deserialize, serialize +from deepcave.utils.layout import create_table, get_slider_marks +from deepcave.utils.styled_plotty import ( generate_config_code, get_color, get_hyperparameter_ticks, save_image, ) -from deepcave.utils.url import create_url +from deepcave.utils.url import create_url
[docs] -class Configurations(DynamicPlugin): +class Configurations(DynamicPlugin): """Visualize the characteristics of a configuration.""" id = "configurations" @@ -865,7 +865,7 @@

Source code for deepcave.plugins.summary.configurations