Skip to content

Commit

Permalink
Optimization loop chassis (#181)
Browse files Browse the repository at this point in the history
* adding experimental jupyter notebook in experimental/

* updated all calls and nu test to include loss method arguments

* removed invalid includes from collection and directly added to chassis.py;

* flake8 configured to ignore E501(some lines longer than 80) and E203(conflicts with black)

* moved chassis loop to MuyGPyS/optimize/experimental and updated __init__.py

* add notebook for distance function testing

* added updating neighborhood with learned length scales each loop iteration

* add parameter and code that allows reuse of optimizer instance over loop iterations

* added test for anisotropic distance function

* updated chassis workflow when reusing optimizer and update notebook with experiment and 4 treatments

* returning the nn lookup for inference

* added workflow tests determining where learned hps applied in opt loop and troubleshooting inference results

* added inference outputs test

* added training and inference results to tables in notebook

* refactored sample_batch call to to make workflow understandable, added time and probe count measurements, and added tables for training and inference results and a side by side plot of residuals

* added Abseil unit test to github CI

* Added another treatment single step + that computes an equal number of explore and exploit points
  • Loading branch information
akilandrews authored Aug 7, 2023
1 parent 9c11ff0 commit 295176f
Show file tree
Hide file tree
Showing 6 changed files with 803 additions and 421 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/develop-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
test-group: [short, optimize, multivariate]
test-group: [short, optimize, multivariate, optimize-experimental]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -46,9 +46,9 @@ jobs:
- name: Optimize Tests
if: matrix.test-group == 'optimize'
run: python tests/optimize.py
# - name: Optimize Tests - experimental
# if: matrix.test-group == 'optimize-experimental'
# run: python tests/mini_batch.py
- name: Optimize Tests - experimental
if: matrix.test-group == 'optimize-experimental'
run: python tests/mini_batch.py
- name: Multivariate Tests
if: matrix.test-group == 'multivariate'
run: python tests/multivariate.py
Expand Down
Loading

0 comments on commit 295176f

Please sign in to comment.