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

Adding Desirability functions as objectives #497

Merged
merged 31 commits into from
Jan 21, 2025
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
74797a5
initial commit of numerical objectives. Needs to be adjusted, tested …
LukasHebing Jan 9, 2025
9c13ac7
moved torch functions to torch_tools.py
LukasHebing Jan 10, 2025
0cabd72
removed torch dependencies from data-model
LukasHebing Jan 10, 2025
92d7a93
added validators and tests for desirability data-models
LukasHebing Jan 10, 2025
74a9757
after hooks
LukasHebing Jan 10, 2025
cce5ee1
added test for "get_objective_callable"
LukasHebing Jan 10, 2025
9ce1a98
after hooks
LukasHebing Jan 10, 2025
364e3d0
added tutorial notebook desirability_objectives.ipynb
LukasHebing Jan 10, 2025
ca00d4f
after hooks
LukasHebing Jan 10, 2025
945cccf
added to AnyRealObjective
LukasHebing Jan 13, 2025
da33ff7
after hooks
LukasHebing Jan 13, 2025
20e277a
Merge remote-tracking branch 'origin/main' into feature/desirability_…
LukasHebing Jan 14, 2025
d99a308
Merge remote-tracking branch 'origin/main' into feature/desirability_…
LukasHebing Jan 15, 2025
d448d0f
changed validators to model validators
LukasHebing Jan 16, 2025
07685d1
added type: Literals to objectives
LukasHebing Jan 16, 2025
f97bd8e
after hooks
LukasHebing Jan 16, 2025
370fbed
after hooks
LukasHebing Jan 16, 2025
74a222e
debugged new validators
LukasHebing Jan 16, 2025
6c66331
after hooks
LukasHebing Jan 16, 2025
a45eba3
fixed tests
LukasHebing Jan 16, 2025
64006ef
after hooks
LukasHebing Jan 16, 2025
a86de30
got rid of using desirability base class as actual usable class
LukasHebing Jan 16, 2025
2d7d05e
- moved clip to abstract class
LukasHebing Jan 20, 2025
a4faa89
added abstractmehtod decorator
LukasHebing Jan 20, 2025
a93e928
after hooks
LukasHebing Jan 20, 2025
d939aec
changed data model specs for tests
LukasHebing Jan 20, 2025
d1e63ea
changed bounds defs in specs to lists
LukasHebing Jan 20, 2025
6c8bc67
debugged invalid specs definition
LukasHebing Jan 20, 2025
d15640f
after hooks
LukasHebing Jan 20, 2025
1934c39
moved helper class with __call__ method to abstract desirability class
LukasHebing Jan 20, 2025
cf4b7e0
after hooks
LukasHebing Jan 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
after hooks
LukasHebing committed Jan 16, 2025
commit 370fbed8280cbac34d6a619865ff572bdd2b721a
2 changes: 1 addition & 1 deletion bofire/data_models/objectives/desirabilities.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Optional, Union, Literal
from typing import Literal, Optional, Union

import numpy as np
import pandas as pd