From 8e6c2b807fc19ba2d1493ce3794fdbf7ae50b4a3 Mon Sep 17 00:00:00 2001 From: Kento Nozawa Date: Thu, 6 Jun 2024 17:04:04 +0900 Subject: [PATCH 1/3] Add python 3.12 and run terminator search cv --- .github/workflows/terminator.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/terminator.yml b/.github/workflows/terminator.yml index f85978b9..683d2f3b 100644 --- a/.github/workflows/terminator.yml +++ b/.github/workflows/terminator.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v4 @@ -28,11 +28,14 @@ jobs: pip install --progress-bar off -U setuptools pip install git+https://github.com/optuna/optuna.git python -c 'import optuna' + pip install git+https://github.com/optuna/optuna-integration.git + python -c 'import optuna_integration' pip install -r terminator/requirements.txt - name: Run examples run: | - python terminator/terminator_simple.py python terminator/terminator_improvement_plot.py + python terminator/terminator_search_cv.py + python terminator/terminator_simple.py env: OMP_NUM_THREADS: 1 From 023fc28947c10d5ad1cb6562293f7fabb0ebdb66 Mon Sep 17 00:00:00 2001 From: Kento Nozawa Date: Tue, 11 Jun 2024 12:01:07 +0900 Subject: [PATCH 2/3] Add pandas --- terminator/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/terminator/requirements.txt b/terminator/requirements.txt index 7c36ac3b..2d8602cb 100644 --- a/terminator/requirements.txt +++ b/terminator/requirements.txt @@ -1,3 +1,4 @@ botorch -scikit-learn +pandas # used in terminator_search_cv.py plotly +scikit-learn From e57020d278cbad14c60951467b37df4512e7235c Mon Sep 17 00:00:00 2001 From: Kento Nozawa Date: Tue, 11 Jun 2024 12:01:23 +0900 Subject: [PATCH 3/3] Run search cv --- .github/workflows/sklearn.yml | 3 ++- sklearn/requirements.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sklearn.yml b/.github/workflows/sklearn.yml index b70dbb2d..fb074308 100644 --- a/.github/workflows/sklearn.yml +++ b/.github/workflows/sklearn.yml @@ -34,7 +34,8 @@ jobs: pip install -r sklearn/requirements.txt - name: Run examples run: | - python sklearn/sklearn_simple.py python sklearn/sklearn_additional_args.py + python sklearn/sklearn_optuna_search_cv_simple.py + python sklearn/sklearn_simple.py env: OMP_NUM_THREADS: 1 diff --git a/sklearn/requirements.txt b/sklearn/requirements.txt index 86dd3833..82031326 100644 --- a/sklearn/requirements.txt +++ b/sklearn/requirements.txt @@ -1,2 +1,3 @@ -scikit-learn>=0.19.0 optuna +scikit-learn>=0.19.0 +pandas # used in sklearn_optuna_search_cv_simple.py