Add surrogate free indexed strategies - #50
Open
vreshniak wants to merge 7 commits into
Open
Conversation
Do not train surrogate at initialization when dataset_y is empty
vreshniak
force-pushed
the
indexed_strategies
branch
from
July 22, 2026 17:50
f867119 to
0f86d61
Compare
Contributor
|
Could you add tests for the new strategies? Unit tests alone should be fine. You can either use the existing file in API looks fine |
Signed-off-by: Lance-Drane <Lance-Drane@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Indexed Strategies Support and Improve Strategy Handling
Summary
This PR introduces indexed strategies (surrogate-free sampling methods) and refactors strategy handling throughout the DIAL service.
Features
Indexed Strategies
Adds new surrogate-free sampling strategies that don't require model training:
center: Sample at domain center pointcorners: Sample at domain corner pointsgrid: Uniform grid-based samplingchebyshev: Chebyshev node-based samplinglatin_hypercube: Latin hypercube design samplingNew Examples
2d_rosenbrock_client_with_strategies.pydemonstrating available strategiesChanges Overview
Files Modified
src/dial_service/utilities/strategies.pysrc/dial_dataclass/dial_dataclass.pysrc/dial_service/dial_service.pysrc/dial_service/core.pyscripts/2d_rosenbrock_client_with_strategies.py