-
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- PiBO: Augment the acquisition function by multiplying by a pdf given by the user. The prior then decays over time, allowing for the optimization to carry on as per default. - The `RunHistory` can now act as a `Mapping` in that you can use the usual methods you can use on dicts, i.e. `len(rh)`, `rh.items()`, `rh[key]`. Previously this was usually done by accessing `rh.data` which is still possible. - Updated the signature of the `ROAR` facade to match with it's parent class `SMAC4AC`. Anyone relying on the output directory without specifying an explicit `run_id` to a `ROAR` facade should now expect to see the output directory at `run_0` instead of `run_1`. See #827. - Updated and integrated flake8, mypy, black, and isort. - SMAC uses `automl_sphinx_theme` now and therefore the API is displayed nicer. Co-authored-by: Carl Hvarfner <[email protected]> Co-authored-by: Difan Deng <[email protected]> Co-authored-by: Carolin Benjamins <[email protected]> Co-authored-by: Tim Ruhkopf <[email protected]> Co-authored-by: eddiebergman <[email protected]>
- Loading branch information
1 parent
863e429
commit 9d0d107
Showing
288 changed files
with
9,235 additions
and
19,071 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
[flake8] | ||
max-line-length = 120 | ||
ignore = W605,E402,W503 | ||
show-source = True | ||
application-import-names = smac | ||
exclude = | ||
max-line-length = 120 | ||
extend-exclude = | ||
venv | ||
.venv | ||
build | ||
.git | ||
__pycache__ | ||
doc | ||
build | ||
dist | ||
examples/spear_qcp/* | ||
extend-ignore = | ||
E203 # No whitespace before ':' in [x : y] | ||
E731 # No lambdas — too strict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: citation | ||
|
||
on: | ||
push: | ||
paths: | ||
- CITATION.cff | ||
|
||
jobs: | ||
validate: | ||
name: "validate" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out a copy of the repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Check whether the citation metadata from CITATION.cff is valid | ||
uses: citation-file-format/[email protected] | ||
with: | ||
args: "--validate" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 10 additions & 11 deletions
21
.github/workflows/pre-commit.yaml → .github/workflows/pre-commit.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,39 @@ | ||
name: pre-commit | ||
|
||
on: | ||
# Manual trigger option in github | ||
# Manually triggerable in github | ||
workflow_dispatch: | ||
|
||
# Trigger on push to these branches | ||
# When a push occurs on either of these branches | ||
push: | ||
branches: | ||
- master | ||
- main | ||
- development | ||
|
||
# Trigger on a open/push to a PR targeting one of these branches | ||
# When a push occurs on a PR that targets these branches | ||
pull_request: | ||
branches: | ||
- master | ||
- main | ||
- development | ||
|
||
jobs: | ||
|
||
run-all-files: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Setup Python 3.7 | ||
- name: Setup Python 3.8 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
python-version: 3.8 | ||
|
||
- name: Install pre-commit | ||
run: | | ||
pip install pre-commit | ||
pre-commit install | ||
- name: Run pre-commit | ||
run: | | ||
pre-commit run --all-files |
Oops, something went wrong.