Skip to content

Commit cb3d2f8

Browse files
authored
Merge pull request #233 from automl/development
DeepCAVE Version 1.4.1
2 parents 03f7e2c + 8066960 commit cb3d2f8

File tree

435 files changed

+131141
-1460
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

435 files changed

+131141
-1460
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# Version 1.4.1
2+
3+
## Raytune
4+
- Fixed a small issue with the converter
5+
- Changed the runs so the pyarrow versions match
6+
- Made imports optional
7+
8+
## Example Runs
9+
- Added example run for LLMs based on PD1: lm1b_2048
10+
- Added example run for neural architecture based on NASBench301: nb301_cifar10
11+
112
# Version 1.4
213

314
## Converter Documentation

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# are usually completed in github actions.
33

44
SHELL := /bin/bash
5-
VERSION := 1.4
5+
VERSION := 1.4.1
66

77
NAME := DeepCAVE
88
PACKAGE_NAME := deepcave

deepcave/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@
3333
name = "DeepCAVE"
3434
package_name = "deepcave"
3535
author = (
36-
"S. Segel and H. Graf and E. Bergman and K. Thieme and L. Fehring and A. Tornede and "
37-
"R. Sass and A. Biedenkapp and F. Hutter and M. Lindauer"
36+
"S. Segel and H. Graf and E. Bergman and K. Thieme and L. Fehring and M. Wever"
37+
" and A. Tornede and R. Sass and A. Biedenkapp and F. Hutter and M. Lindauer"
3838
)
39-
author_email = "l.fehring@ai.uni-hannover.de"
39+
author_email = "m.wever@ai.uni-hannover.de"
4040
description = "A Visualization and Analysis Tool for Automated Machine Learning."
4141
url = "automl.org"
4242
project_urls = {
4343
"Documentation": "https://automl.github.io/DeepCAVE/main",
4444
"Source Code": "https://github.com/automl/deepcave",
4545
}
4646
copyright = f"Copyright {datetime.date.today().strftime('%Y')}, {author}"
47-
version = "1.4"
47+
version = "1.4.1"
4848

4949
_exec_file = sys.argv[0]
5050
_exec_files = ["server.py", "worker.py", "sphinx-build"]

deepcave/runs/converters/raytune.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from pathlib import Path
1515

1616
from ConfigSpace import Configuration, ConfigurationSpace
17-
from ray.tune import ExperimentAnalysis
1817

1918
from deepcave.runs import Status
2019
from deepcave.runs.objective import Objective
@@ -83,6 +82,8 @@ def from_path(cls, path: Path) -> "RayTuneRun":
8382
RayTuneRun
8483
The run.
8584
"""
85+
from ray.tune import ExperimentAnalysis
86+
8687
configspace_new: dict
8788
hp_names = {}
8889
analysis = None
@@ -169,7 +170,7 @@ def from_path(cls, path: Path) -> "RayTuneRun":
169170
status = Status.CRASHED
170171
start_time = analysis[result]["timestamp"]
171172
end_time = start_time + analysis[result]["time_this_iter_s"]
172-
cost = analysis[result]["score"]
173+
cost = next(iter(analysis[result].values()))
173174

174175
budget = []
175176
if os.path.isfile(str(path) + "/budget.json"):
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name": null, "hyperparameters": [{"type": "uniform_float", "name": "lr_decay_factor", "lower": 0.010543, "upper": 0.9885653, "default_value": 0.49955415, "log": false, "meta": null}, {"type": "uniform_float", "name": "lr_initial", "lower": 1e-05, "upper": 9.986256, "default_value": 0.0099931256372, "log": true, "meta": null}, {"type": "uniform_float", "name": "lr_power", "lower": 0.100811, "upper": 1.999659, "default_value": 1.050235, "log": false, "meta": null}, {"type": "uniform_float", "name": "opt_momentum", "lower": 5.9e-05, "upper": 0.9989986, "default_value": 0.0076772988349, "log": true, "meta": null}], "conditions": [], "forbiddens": [], "python_module_version": "1.2.0", "format_version": 0.4}

0 commit comments

Comments
 (0)