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

Add batched acquisition functions and knowledge gradient #37

Merged
merged 37 commits into from
Sep 2, 2023

Conversation

ziatdinovmax
Copy link
Owner

No description provided.

this is in response to previous commit
in response to earlier change in the arg sequence
- Add batche-mode acquisition functions
- Move ei, ucb, and poi to base_acq
- Update tests
After the last update it was actually computing ucb
- remove jit decorator (prevents KG implementatio)
- Do not pop noise out of the dictionary
(it might make sense to do it for other kernels as well)
@codecov-commenter
Copy link

Codecov Report

Merging #37 (5a8dad1) into main (728b59b) will increase coverage by 0.68%.
The diff coverage is 93.85%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
+ Coverage   94.34%   95.03%   +0.68%     
==========================================
  Files          37       39       +2     
  Lines        2813     3063     +250     
==========================================
+ Hits         2654     2911     +257     
+ Misses        159      152       -7     
Flag Coverage Δ
unittests 95.03% <93.85%> (+0.68%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
gpax/models/vgp.py 84.37% <ø> (-0.17%) ⬇️
gpax/acquisition/acquisition.py 80.00% <76.08%> (+11.13%) ⬆️
gpax/models/vidkl.py 88.43% <90.90%> (-3.71%) ⬇️
tests/test_acq.py 95.02% <91.66%> (-3.26%) ⬇️
gpax/acquisition/batch_acquisition.py 97.82% <97.82%> (ø)
gpax/acquisition/__init__.py 100.00% <100.00%> (ø)
gpax/acquisition/base_acq.py 100.00% <100.00%> (ø)
gpax/kernels/kernels.py 96.51% <100.00%> (ø)
gpax/kernels/mtkernels.py 98.03% <100.00%> (+0.08%) ⬆️
gpax/models/dkl.py 91.56% <100.00%> (-0.11%) ⬇️
... and 5 more

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ziatdinovmax ziatdinovmax merged commit 55a3408 into main Sep 2, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants