Skip to content

Commit

Permalink
Sarah Segel: Merge pull request #94 from automl/bug/pre-commit-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Actions committed Feb 23, 2024
1 parent 4126216 commit f772693
Show file tree
Hide file tree
Showing 204 changed files with 20,925 additions and 2,011 deletions.
2 changes: 1 addition & 1 deletion development/.buildinfo
Original file line number Diff line number Diff line change
@@ -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: 427e04ae34191866870e58fc211b7707
config: 268198ccf5ff446d476157fe5db16dc4
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified development/.doctrees/api.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.evaluators.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.evaluators.epm.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.evaluators.epm.utils.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.evaluators.fanova.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.evaluators.footprint.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.evaluators.lpi.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.layouts.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.layouts.not_found.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.layouts.sidebar.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.plugins.budget.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.plugins.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.plugins.dynamic.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.plugins.objective.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.plugins.static.doctree
Binary file not shown.
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.plugins.summary.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.runs.converters.bohb.doctree
Binary file not shown.
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.runs.converters.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.runs.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.runs.exceptions.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.runs.group.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.runs.handler.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.runs.objective.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.runs.recorder.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.runs.run.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.runs.status.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.runs.trial.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.cache.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.cast.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.compression.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.configs.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.configspace.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.dash.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.data_structures.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.docs.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.files.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.hash.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.layout.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.logs.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.notification.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.run_caches.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.styled_plot.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.styled_plotty.doctree
Binary file not shown.
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.url.doctree
Binary file not shown.
Binary file modified development/.doctrees/api/deepcave.utils.util.doctree
Binary file not shown.
Binary file modified development/.doctrees/environment.pickle
Binary file not shown.
Binary file modified development/.doctrees/examples/api/importances.doctree
Binary file not shown.
Binary file modified development/.doctrees/examples/api/parallel_coordinates.doctree
Binary file not shown.
Binary file modified development/.doctrees/examples/api/pdp.doctree
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@
# Finally, you can load the figure. Here, the filter variables play a role.
# Alternatively: Use the matplotlib output (`load_mpl_outputs`) if available.
figure = plugin.load_outputs(run, inputs, outputs) # plotly.go figure
figure.write_image("examples/api/parallel_coordinates.png", scale=2.)
figure.write_image("examples/api/parallel_coordinates.png", scale=2.0)
# figure.show()
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"outputs": [],
"source": [
"from deepcave.plugins.hyperparameter.pdp import PartialDependencies\nfrom deepcave.runs.converters.deepcave import DeepCAVERun\nfrom pathlib import Path\n\n\nif __name__ == \"__main__\":\n # Instantiate the run\n run = DeepCAVERun.from_path(Path(\"logs/DeepCAVE/minimal/run_2\"))\n objective_id = run.get_objective_ids()[0]\n budget_id = run.get_budget_ids()[-1]\n\n # Instantiate the plugin\n plugin = PartialDependencies()\n inputs = plugin.generate_inputs(\n hyperparameter_name_1=\"alpha\",\n hyperparameter_name_2=\"beta\",\n objective_id=objective_id,\n budget_id=budget_id,\n show_confidence=False,\n show_ice=True,\n )\n # Note: Filter variables are not considered.\n outputs = plugin.generate_outputs(run, inputs)\n\n # Finally, you can load the figure. Here, the filter variables play a role.\n # Alternatively: Use the matplotlib output (`load_mpl_outputs`) if available.\n figure = plugin.load_outputs(run, inputs, outputs) # plotly.go figure\n figure.write_image(\"examples/api/pdp.png\")\n #figure.show()"
"from deepcave.plugins.hyperparameter.pdp import PartialDependencies\nfrom deepcave.runs.converters.deepcave import DeepCAVERun\nfrom pathlib import Path\n\n\nif __name__ == \"__main__\":\n # Instantiate the run\n run = DeepCAVERun.from_path(Path(\"logs/DeepCAVE/minimal/run_2\"))\n objective_id = run.get_objective_ids()[0]\n budget_id = run.get_budget_ids()[-1]\n\n # Instantiate the plugin\n plugin = PartialDependencies()\n inputs = plugin.generate_inputs(\n hyperparameter_name_1=\"alpha\",\n hyperparameter_name_2=\"beta\",\n objective_id=objective_id,\n budget_id=budget_id,\n show_confidence=False,\n show_ice=True,\n )\n # Note: Filter variables are not considered.\n outputs = plugin.generate_outputs(run, inputs)\n\n # Finally, you can load the figure. Here, the filter variables play a role.\n # Alternatively: Use the matplotlib output (`load_mpl_outputs`) if available.\n figure = plugin.load_outputs(run, inputs, outputs) # plotly.go figure\n figure.write_image(\"examples/api/pdp.png\")\n # figure.show()"
]
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"outputs": [],
"source": [
"from deepcave.plugins.hyperparameter.importances import Importances\nfrom deepcave.runs.converters.deepcave import DeepCAVERun\nfrom pathlib import Path\n\n\nif __name__ == \"__main__\":\n # Instantiate the run\n run = DeepCAVERun.from_path(Path(\"logs/DeepCAVE/minimal/run_2\"))\n\n objective_id = run.get_objective_ids()[0]\n budget_ids = run.get_budget_ids()\n\n # Instantiate the plugin\n plugin = Importances()\n inputs = plugin.generate_inputs(\n hyperparameter_names=run.configspace.get_hyperparameter_names(),\n objective_id=objective_id,\n budget_ids=budget_ids,\n method=\"global\",\n n_hps=3,\n n_trees=10\n )\n # Note: Filter variables are not considered.\n outputs = plugin.generate_outputs(run, inputs)\n\n # Finally, you can load the figure. Here, the filter variables play a role.\n # Alternatively: Use the matplotlib output (`load_mpl_outputs`) if available.\n figure = plugin.load_outputs(run, inputs, outputs) # plotly.go figure\n figure.write_image(\"examples/api/importances.png\", scale=2.)\n # figure.show()"
"from deepcave.plugins.hyperparameter.importances import Importances\nfrom deepcave.runs.converters.deepcave import DeepCAVERun\nfrom pathlib import Path\n\n\nif __name__ == \"__main__\":\n # Instantiate the run\n run = DeepCAVERun.from_path(Path(\"logs/DeepCAVE/minimal/run_2\"))\n\n objective_id = run.get_objective_ids()[0]\n budget_ids = run.get_budget_ids()\n\n # Instantiate the plugin\n plugin = Importances()\n inputs = plugin.generate_inputs(\n hyperparameter_names=run.configspace.get_hyperparameter_names(),\n objective_id=objective_id,\n budget_ids=budget_ids,\n method=\"global\",\n n_hps=3,\n n_trees=10,\n )\n # Note: Filter variables are not considered.\n outputs = plugin.generate_outputs(run, inputs)\n\n # Finally, you can load the figure. Here, the filter variables play a role.\n # Alternatively: Use the matplotlib output (`load_mpl_outputs`) if available.\n figure = plugin.load_outputs(run, inputs, outputs) # plotly.go figure\n figure.write_image(\"examples/api/importances.png\", scale=2.0)\n # figure.show()"
]
}
],
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
# Alternatively: Use the matplotlib output (`load_mpl_outputs`) if available.
figure = plugin.load_outputs(run, inputs, outputs) # plotly.go figure
figure.write_image("examples/api/pdp.png")
#figure.show()
# figure.show()
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"outputs": [],
"source": [
"from deepcave.plugins.objective.parallel_coordinates import ParallelCoordinates\nfrom deepcave.runs.converters.deepcave import DeepCAVERun\nfrom pathlib import Path\n\n\nif __name__ == \"__main__\":\n # Instantiate the run\n run = DeepCAVERun.from_path(Path(\"logs/DeepCAVE/minimal/run_2\"))\n objective_id = run.get_objective_ids()[0]\n budget_id = run.get_budget_ids()[-1]\n\n # Instantiate the plugin\n plugin = ParallelCoordinates()\n inputs = plugin.generate_inputs(\n hyperparameter_names=run.configspace.get_hyperparameter_names(),\n objective_id=objective_id,\n budget_id=budget_id,\n show_important_only=True,\n show_unsuccessful=False,\n hide_hps=False,\n n_hps=3,\n )\n # Note: Filter variables are not considered.\n outputs = plugin.generate_outputs(run, inputs)\n\n # Finally, you can load the figure. Here, the filter variables play a role.\n # Alternatively: Use the matplotlib output (`load_mpl_outputs`) if available.\n figure = plugin.load_outputs(run, inputs, outputs) # plotly.go figure\n figure.write_image(\"examples/api/parallel_coordinates.png\", scale=2.)\n # figure.show()"
"from deepcave.plugins.objective.parallel_coordinates import ParallelCoordinates\nfrom deepcave.runs.converters.deepcave import DeepCAVERun\nfrom pathlib import Path\n\n\nif __name__ == \"__main__\":\n # Instantiate the run\n run = DeepCAVERun.from_path(Path(\"logs/DeepCAVE/minimal/run_2\"))\n objective_id = run.get_objective_ids()[0]\n budget_id = run.get_budget_ids()[-1]\n\n # Instantiate the plugin\n plugin = ParallelCoordinates()\n inputs = plugin.generate_inputs(\n hyperparameter_names=run.configspace.get_hyperparameter_names(),\n objective_id=objective_id,\n budget_id=budget_id,\n show_important_only=True,\n show_unsuccessful=False,\n hide_hps=False,\n n_hps=3,\n )\n # Note: Filter variables are not considered.\n outputs = plugin.generate_outputs(run, inputs)\n\n # Finally, you can load the figure. Here, the filter variables play a role.\n # Alternatively: Use the matplotlib output (`load_mpl_outputs`) if available.\n figure = plugin.load_outputs(run, inputs, outputs) # plotly.go figure\n figure.write_image(\"examples/api/parallel_coordinates.png\", scale=2.0)\n # figure.show()"
]
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
budget_ids=budget_ids,
method="global",
n_hps=3,
n_trees=10
n_trees=10,
)
# Note: Filter variables are not considered.
outputs = plugin.generate_outputs(run, inputs)

# Finally, you can load the figure. Here, the filter variables play a role.
# Alternatively: Use the matplotlib output (`load_mpl_outputs`) if available.
figure = plugin.load_outputs(run, inputs, outputs) # plotly.go figure
figure.write_image("examples/api/importances.png", scale=2.)
# figure.show()
figure.write_image("examples/api/importances.png", scale=2.0)
# figure.show()
Binary file not shown.
Loading

0 comments on commit f772693

Please sign in to comment.