Skip to content

sparse axis aligned kernel for GP modeling#417

Open
roussel-ryan wants to merge 17 commits into
mainfrom
saas
Open

sparse axis aligned kernel for GP modeling#417
roussel-ryan wants to merge 17 commits into
mainfrom
saas

Conversation

@roussel-ryan
Copy link
Copy Markdown
Collaborator

This pull request introduces support for constructing MAP SAAS (Sparse Axis-Aligned Subspace) Gaussian Process models in the Bayesian modeling workflow. It adds a utility method for building and training MAP SAAS GPs, enables users to specify which outputs should use SAAS priors, and integrates this functionality into the standard model construction pipeline. Additionally, a new example notebook demonstrates building GP models from scratch, and relevant tests are updated.

MAP SAAS GP Model Support

  • Added a static method build_map_saas_gp to base_model.py for creating and training MAP SAAS SingleTaskGP models, with error handling and documentation.
  • Integrated the option to apply SAAS priors to specific outputs via a new saas_outputs field in StandardModelConstructor, and updated the model construction logic to use MAP SAAS GPs when appropriate. [1] [2]

Documentation and Examples

  • Added a new notebook saas.ipynb demonstrating how to build GP models (including with SAAS priors) from scratch for data visualization and sensitivity analysis.
  • Updated the existing model_creation.ipynb notebook to use the xopt-dev kernel and reflect the latest Python version. [1] [2]

Testing

  • Added a test to ensure that the SAAS model constructor works as expected when specified in StandardModelConstructor.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@roussel-ryan
Copy link
Copy Markdown
Collaborator Author

@copilot add tests to meet coverage criteria

Copilot AI and others added 9 commits May 15, 2026 15:27
Agent-Logs-Url: https://github.com/xopt-org/Xopt/sessions/833e3bdf-2ead-4cc3-8ff1-eb88f944d4eb

Co-authored-by: roussel-ryan <24279776+roussel-ryan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/xopt-org/Xopt/sessions/833e3bdf-2ead-4cc3-8ff1-eb88f944d4eb

Co-authored-by: roussel-ryan <24279776+roussel-ryan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/xopt-org/Xopt/sessions/833e3bdf-2ead-4cc3-8ff1-eb88f944d4eb

Co-authored-by: roussel-ryan <24279776+roussel-ryan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/xopt-org/Xopt/sessions/833e3bdf-2ead-4cc3-8ff1-eb88f944d4eb

Co-authored-by: roussel-ryan <24279776+roussel-ryan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/xopt-org/Xopt/sessions/833e3bdf-2ead-4cc3-8ff1-eb88f944d4eb

Co-authored-by: roussel-ryan <24279776+roussel-ryan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/xopt-org/Xopt/sessions/833e3bdf-2ead-4cc3-8ff1-eb88f944d4eb

Co-authored-by: roussel-ryan <24279776+roussel-ryan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/xopt-org/Xopt/sessions/833e3bdf-2ead-4cc3-8ff1-eb88f944d4eb

Co-authored-by: roussel-ryan <24279776+roussel-ryan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/xopt-org/Xopt/sessions/833e3bdf-2ead-4cc3-8ff1-eb88f944d4eb

Co-authored-by: roussel-ryan <24279776+roussel-ryan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/xopt-org/Xopt/sessions/833e3bdf-2ead-4cc3-8ff1-eb88f944d4eb

Co-authored-by: roussel-ryan <24279776+roussel-ryan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented May 15, 2026

@copilot add tests to meet coverage criteria

Added targeted SAAS coverage tests in test_model_constructor.py to cover MAP SAAS training/error paths and SAAS-output behavior (single and multi-output cases). Addressed in commit 7b6b43d.

@roussel-ryan roussel-ryan marked this pull request as ready for review May 16, 2026 02:49
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