Skip to content

Commit 407b7c9

Browse files
author
René Sass
authored
Version 1.0.1 (#759)
Added licenses
1 parent 3db542c commit 407b7c9

File tree

116 files changed

+356
-101
lines changed

Some content is hidden

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

116 files changed

+356
-101
lines changed

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 1.0.1
2+
3+
## Minor Changes
4+
* Added license information to every file.
5+
* Fixed a display bug inside usage recommendation.
6+
17
# 1.0.0
28

39
The main purpose of this release is to be synchronized with our upcoming paper.

doc/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
import smac
2323
from smac.utils.io.cmd_reader import CMDReader
2424

25+
__copyright__ = "Copyright 2021, AutoML.org Freiburg-Hannover"
26+
__license__ = "3-clause BSD"
27+
2528

2629
# If extensions (or modules to document with autodoc) are in another directory,
2730
# add these directories to sys.path here. If the directory is relative to the

doc/usage_recomendation.rst

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,21 @@ Usage Recommendation
88
To make the usage of *SMAC* as easy as possible, we provide several facades designed for these different use cases. Here we give some general recommendations on
99
when to use which facade. These recommendations are based on our experience and technical limitations and is by far not intended to be complete:
1010

11-
+-----------------------+----------------------+-------------------------+-------------------------+
12-
| | SMAC4BB | SMAC4HPO (Hyper- | SMAC4AC (Algorithm- |
13-
| | (Black-Box) | parameter Optimization) | Configuration) |
14-
+=======================+======================+=========================+=========================+
15-
| # parameter | low | low/medium/high | low/medium/high |
16-
+-----------------------+----------------------+-------------------------+-------------------------+
17-
| categorical parameter | yes | supported | supported |
18-
+-----------------------+----------------------+-------------------------+-------------------------+
19-
| conditional parameter | yes | supported | supported |
20-
+-----------------------+----------------------+-------------------------+-------------------------+
21-
| instances | no | None or CV-folds | yes |
22-
+-----------------------+----------------------+-------------------------+-------------------------+
23-
| stochasticity | no | supported | supported |
24-
+-----------------------+----------------------+-------------------------+-------------------------+
25-
| objective | any (except runtime) | e.g. validation loss | e.g. runtime or quality |
26-
+-----------------------+----------------------+-------------------------+-------------------------+
11+
+-----------------------+----------------------+-----------------------------------------+-----------------------------------+
12+
| | SMAC4BB (Black-Box) | SMAC4HPO (Hyperparameter Optimization) | SMAC4AC (Algorithm Configuration) |
13+
+=======================+======================+=========================================+===================================+
14+
| # parameter | low | low/medium/high | low/medium/high |
15+
+-----------------------+----------------------+-----------------------------------------+-----------------------------------+
16+
| categorical parameter | yes | supported | supported |
17+
+-----------------------+----------------------+-----------------------------------------+-----------------------------------+
18+
| conditional parameter | yes | supported | supported |
19+
+-----------------------+----------------------+-----------------------------------------+-----------------------------------+
20+
| instances | no | None or CV-folds | yes |
21+
+-----------------------+----------------------+-----------------------------------------+-----------------------------------+
22+
| stochasticity | no | supported | supported |
23+
+-----------------------+----------------------+-----------------------------------------+-----------------------------------+
24+
| objective | any (except runtime) | e.g. validation loss | e.g. runtime or quality |
25+
+-----------------------+----------------------+-----------------------------------------+-----------------------------------+
2726

2827
Some examples of typical use cases:
2928

examples/SMAC4BB/SMAC4BB_rosenbrock_example.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
# Import SMAC-utilities
1717
from smac.scenario.scenario import Scenario
1818

19+
__copyright__ = "Copyright 2021, AutoML.org Freiburg-Hannover"
20+
__license__ = "3-clause BSD"
21+
1922

2023
def rosenbrock_2d(x):
2124
""" The 2 dimensional Rosenbrock function as a toy model

examples/SMAC4HPO/SMAC4HPO_acq_rosenbrock_example.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
# Import SMAC-utilities
2020
from smac.scenario.scenario import Scenario
2121

22+
__copyright__ = "Copyright 2021, AutoML.org Freiburg-Hannover"
23+
__license__ = "3-clause BSD"
24+
2225

2326
def rosenbrock_2d(x):
2427
""" The 2 dimensional Rosenbrock function as a toy model

examples/SMAC4HPO/SMAC4HPO_gradientboosting_example.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
from smac.facade.smac_hpo_facade import SMAC4HPO
2323
from smac.scenario.scenario import Scenario
2424

25+
__copyright__ = "Copyright 2021, AutoML.org Freiburg-Hannover"
26+
__license__ = "3-clause BSD"
27+
2528

2629
# load data and split it into training and test dataset
2730
X, y = make_hastie_10_2(random_state=0)

examples/SMAC4HPO/SMAC4HPO_rosenbrock_example.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
# Import SMAC-utilities
1717
from smac.scenario.scenario import Scenario
1818

19+
__copyright__ = "Copyright 2021, AutoML.org Freiburg-Hannover"
20+
__license__ = "3-clause BSD"
21+
1922

2023
def rosenbrock_2d(x):
2124
""" The 2 dimensional Rosenbrock function as a toy model

examples/SMAC4HPO/SMAC4HPO_svm_example.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
# Import SMAC-utilities
2626
from smac.scenario.scenario import Scenario
2727

28+
__copyright__ = "Copyright 2021, AutoML.org Freiburg-Hannover"
29+
__license__ = "3-clause BSD"
30+
31+
2832
# We load the iris-dataset (a widely used benchmark)
2933
iris = datasets.load_iris()
3034

examples/SMAC4MF/SMAC4MF_mlp_example.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
from smac.facade.smac_mf_facade import SMAC4MF
2929
from smac.scenario.scenario import Scenario
3030

31+
__copyright__ = "Copyright 2021, AutoML.org Freiburg-Hannover"
32+
__license__ = "3-clause BSD"
33+
34+
3135
digits = load_digits()
3236

3337

examples/SMAC4MF/SMAC4MF_sgd_example.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
# Import SMAC-utilities
3535
from smac.scenario.scenario import Scenario
3636

37+
__copyright__ = "Copyright 2021, AutoML.org Freiburg-Hannover"
38+
__license__ = "3-clause BSD"
39+
40+
3741
# We load the MNIST-dataset (a widely used benchmark) and split it into a list of binary datasets
3842
digits = datasets.load_digits()
3943
instances = [[str(a) + str(b)] for a, b in itertools.combinations(digits.target_names, 2)]

0 commit comments

Comments
 (0)