-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiplicative additive sobo objectives (#481)
* added MultiplicativeAdditive data model * added actual multiplicative model (callable is missing) * added torch functions * added test for objective * added test for sobo stategy: multiplicative_additive * changed additive/multiplicative calculations: - Removed scaling by x**(1/(....)) to avoid numerical errors, if x<0 - included weight transformation for multiplicative objectives from (0, 1] to [1, inf) scale to avoid numerical errors at weights != 1.0 - added tests for weights != 1.0 * added notebook for comparison of merging objectives * after hooks * addet .idea/ folder (pycharm) to gitignore * after hooks * Apply pre-commit fixes * Delete .idea directory * corrected tests for multiplicative_additive_botorch_objective * after pre-commit * lint specifications * corrected weightings calc in test for multiplicative objective * after hooks * changed docstrings to google docstring format * easy fixes, spelling errors * forgot linting * easy fixes, spelling errors * removed denominator additive from multiplicative_additive_sobo strategy * after hooks * fixed typing * tensor initialization of objectives * after hooks * avoiding torch size error * avoid linting error * after hooks * reverting test-renaming * revert isinstance list comprehension to tuple.... solution * testing copilot suggestions for linting errors * reverting wrong copilot suggestions * added test for _callables_and_weights * after hooks * added test for SOBO strategy data model * added test for SOBO strategy data model * added new sobo strategy to a mysterious list * after hooks * still trying to get rid of the linting error, expecting tuple(types) * WIP * WIP * WIP * WIP * WIP * minor corrections
- Loading branch information
1 parent
9bb1a36
commit 43f3601
Showing
11 changed files
with
726 additions
and
98 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.