Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1474 refactor the concept of public and private test set #1516

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
348c30f
V0.14.4 (#1378)
eddiebergman Jan 25, 2022
f9db3c1
Revert "V0.14.4 (#1378)"
eddiebergman Jan 25, 2022
450cb16
Fix SVR degree hyperparameter (#1308)
mfeurer Nov 17, 2021
8807267
Black format checker (#1311)
eddiebergman Nov 17, 2021
75271cf
Save runhistory in every iteration (#1306)
mfeurer Nov 18, 2021
a3a1aed
Extend docs (#1309)
KEggensperger Nov 23, 2021
5f7aeaa
Fix typo in contribution guide (#1322)
sagar-kaushik Nov 26, 2021
7cb249c
Added isort checker (#1326)
eddiebergman Dec 1, 2021
5eb8d47
Clearup warnings (#1238)
eddiebergman Dec 1, 2021
c2ecbcd
Enable tests to be manually triggered (#1325)
eddiebergman Dec 1, 2021
800912c
Update docstrings of `include` and `exclude` parameters of the estima…
eddiebergman Dec 1, 2021
1a36458
added python 3.10 to versions (#1260)
eddiebergman Dec 2, 2021
bc3a736
Port over to AutoML common (#1318)
eddiebergman Dec 2, 2021
8a09659
Fixed dependancies warnings introduced by `sphinx_toolbox` (#1339)
eddiebergman Dec 9, 2021
e478777
Fix regression algorithms to give correct output dimensions (#1335)
eddiebergman Dec 12, 2021
8ccefc1
Update example to use predefined_split properly (#1340)
eddiebergman Dec 12, 2021
326c1a4
Update isort-check.yaml to remove occurences of black (#1342)
eddiebergman Dec 12, 2021
766fd3f
Fix random state not being used for sampling configurations (#1329)
eddiebergman Dec 13, 2021
43cf470
Update warnings (#1346)
eddiebergman Dec 14, 2021
54dcfac
Prevent workflow double trigger, Add PEP 561 compliance (#1348)
eddiebergman Dec 21, 2021
11119b8
DOC: rename OSX -> macOS as it is the new name (#1349)
partev Dec 21, 2021
4f73391
Changes show_models() function to return a dictionary of models in en…
sagar-kaushik Dec 25, 2021
083d32a
Remove flaky dep (#1361)
eddiebergman Jan 10, 2022
6a6f6f1
Fix: Make SimpleClassificationPipeline tests deterministic (#1366)
eddiebergman Jan 12, 2022
bb08d04
Fix: MLPRegressor tests (#1367)
eddiebergman Jan 12, 2022
2864699
Testing: ignore kernal pca config error with sparse data (#1368)
eddiebergman Jan 12, 2022
df94d67
Fix: imports from relative to absolute (#1370)
eddiebergman Jan 14, 2022
ecadacb
Add: Release notes
eddiebergman Jan 24, 2022
aaa8b30
Fix: Release notes
eddiebergman Jan 25, 2022
c3be46c
Fix: review comments
eddiebergman Jan 25, 2022
3818d35
Fix: re-enable manual
eddiebergman Jan 25, 2022
184b4dc
Merge pull request #1379 from automl/v0.14.4
eddiebergman Jan 25, 2022
3482be3
Hotfix: Pypi release with automl_common included
eddiebergman Jan 25, 2022
6cc8bb1
Fix: Keyword arguments to `submit` get caught (#1407)
eddiebergman Feb 18, 2022
d29ba7a
Add requirement upper bounds to our own packages
eddiebergman Apr 21, 2022
53844b4
Revert "Fix: Keyword arguments to `submit` get caught (#1407)"
eddiebergman Apr 21, 2022
c777a4d
Revert "Revert "Fix: Keyword arguments to `submit` get caught (#1407)""
eddiebergman Apr 21, 2022
8f7e3eb
Revert "Add requirement upper bounds to our own packages"
eddiebergman Apr 21, 2022
5078e34
Upper bound requirements
eddiebergman Apr 24, 2022
4a184db
Lower requirement of smac
eddiebergman Apr 24, 2022
aa0d24b
Remove comment from requirements file
eddiebergman Apr 24, 2022
42c3bdd
Fix approx usage
eddiebergman Apr 24, 2022
eb13ae0
Fix formatting for pytest approx
eddiebergman Apr 24, 2022
b2ac331
Fix twine check
eddiebergman Apr 24, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/black_checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: black-format-check

on:
# Manually triggerable in github
workflow_dispatch:

# When a push occurs on either of these branches
push:
branches:
- master
- development

# When a push occurs on a PR that targets these branches
pull_request:
branches:
- master
- development

env:
#If STRICT is set to true, it will fail on black check fail
STRICT: false

jobs:

black-format-check:
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive

- name: Setup Python 3.7
uses: actions/setup-python@v2
with:
python-version: "3.7"

- name: Install black
run: |
pip install black

- name: Run Black Check
run: |
black --check --diff --line-length 100 ./autosklearn || ! $STRICT
black --check --diff --line-length 100 ./test || ! $STRICT
black --check --diff --line-length 100 ./examples|| ! $STRICT
37 changes: 32 additions & 5 deletions .github/workflows/dist.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,58 @@
name: dist-check

on: [push, pull_request]
on:
# Manually triggerable in github
workflow_dispatch:

# When a push occurs on either of these branches
push:
branches:
- master
- development

# When a push occurs on a PR that targets these branches
pull_request:
branches:
- master
- development

jobs:
dist:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Check out the repo
uses: actions/checkout@v2
with:
submodules: recursive

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Build dist
run: |
python setup.py sdist

- name: Twine check
run: |
pip install twine
last_dist=$(ls -t dist/auto-sklearn-*.tar.gz | head -n 1)
twine_output=`twine check "$last_dist"`
if [[ "$twine_output" != "Checking $last_dist: PASSED" ]]; then echo $twine_output && exit 1;fi
twine check "$last_dist" --strict


- name: Install dist
run: |
last_dist=$(ls -t dist/auto-sklearn-*.tar.gz | head -n 1)
pip install $last_dist

- name: PEP 561 Compliance
run: |
pip install mypy

cd .. # required to use the installed version of autosklearn
if ! python -c "import autosklearn"; then exit 1; fi

# Note this doesnt perform mypy checks, only
# that the types are exported
if ! mypy -c "import autosklearn"; then exit 1; fi
15 changes: 14 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,31 @@
#https://help.github.com/en/actions/language-and-framework-guides/publishing-docker-images#publishing-images-to-github-packages
name: Publish Docker image

on:

push:
# Push to `master` or `development`
branches:
- master
- development
- docker_workflow

jobs:

push_to_registry:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest

steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
submodules: recursive

- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch

- name: Push to GitHub Packages
uses: docker/build-push-action@v1
with:
Expand All @@ -28,26 +35,32 @@ jobs:
repository: automl/auto-sklearn/auto-sklearn
tag_with_ref: true
tags: ${{ steps.extract_branch.outputs.branch }}

- name: Push to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: mfeurer/auto-sklearn
tags: ${{ steps.extract_branch.outputs.branch }}

- name: Docker Login
run: docker login docker.pkg.github.com -u $GITHUB_ACTOR -p $GITHUB_TOKEN
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Pull Docker image
run: docker pull docker.pkg.github.com/$GITHUB_REPOSITORY/auto-sklearn:$BRANCH
env:
BRANCH: ${{ steps.extract_branch.outputs.branch }}

- name: Run image
run: docker run -i -d --name unittester -v $GITHUB_WORKSPACE:/workspace -w /workspace docker.pkg.github.com/$GITHUB_REPOSITORY/auto-sklearn:$BRANCH
env:
BRANCH: ${{ steps.extract_branch.outputs.branch }}

- name: Auto-Sklearn loaded
run: docker exec -i unittester python3 -c 'import autosklearn; print(f"Auto-sklearn imported from {autosklearn.__file__}")'

- name: Run unit testing
run: docker exec -i unittester python3 -m pytest -v test
33 changes: 30 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,65 @@
name: Docs
on: [pull_request, push]

on:
# Manually triggerable in github
workflow_dispatch:

# When a push occurs on either of these branches
push:
branches:
- master
- development

# When a push occurs on a PR that targets these branches
pull_request:
branches:
- master
- development

jobs:

build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install dependencies
run: |
pip install -e .[docs,examples,examples_unix]
pip install -e .[docs,examples]

- name: Make docs
run: |
cd doc
make html

- name: Check links
run: |
cd doc
make linkcheck

- name: Pull latest gh-pages
if: (contains(github.ref, 'develop') || contains(github.ref, 'master')) && github.event_name == 'push'
run: |
cd ..
git clone https://github.com/automl/auto-sklearn.git --branch gh-pages --single-branch gh-pages

- name: Copy new doc into gh-pages
if: (contains(github.ref, 'develop') || contains(github.ref, 'master')) && github.event_name == 'push'
run: |
branch_name=${GITHUB_REF##*/}
cd ../gh-pages
rm -rf $branch_name
cp -r ../auto-sklearn/doc/build/html $branch_name

- name: Push to gh-pages
if: (contains(github.ref, 'develop') || contains(github.ref, 'master')) && github.event_name == 'push'
run: |
Expand Down
45 changes: 45 additions & 0 deletions .github/workflows/isort_checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: isort-check

on:
# Manually triggerable in github
workflow_dispatch:

# When a push occurs on either of these branches
push:
branches:
- master
- development

# When a push occurs on a PR that targets these branches
pull_request:
branches:
- master
- development

env:
#If STRICT is set to true, it will fail on isort check fail
STRICT: false

jobs:

isort-format-check:
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive

- name: Setup Python 3.7
uses: actions/setup-python@v2
with:
python-version: "3.7"

- name: Install isort
run: |
pip install isort

- name: Run isort Check
run: |
isort --check-only autosklearn || ! $STRICT
21 changes: 20 additions & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,39 @@
name: pre-commit

on: [push, pull_request]
on:
# Manually triggerable in github
workflow_dispatch:

# When a push occurs on either of these branches
push:
branches:
- master
- development

# When a push occurs on a PR that targets these branches
pull_request:
branches:
- master
- development

jobs:
run-all-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- name: Setup Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7

- name: Install pre-commit
run: |
pip install pre-commit
pre-commit install

- name: Run pre-commit
run: |
pre-commit run --all-files
Loading