-
Notifications
You must be signed in to change notification settings - Fork 42
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
fixing reference point etc. #362
base: develop
Are you sure you want to change the base?
Conversation
@@ -352,6 +352,7 @@ def optimize( | |||
history: list[Record[S]] = [] | |||
|
|||
for step in range(num_steps): | |||
print(step) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
monitoring? :)
@@ -1060,7 +1060,7 @@ def prepare_acquisition_function( | |||
feasible_mean, _ = objective_model.predict(feasible_query_points) | |||
|
|||
_pf = Pareto(feasible_mean) | |||
_reference_pt = get_reference_point(_pf.front) | |||
_reference_pt = get_reference_point(feasible_mean) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for learning curious: as get_reference_point
is currently only intend to extract the reference point from a 'front' (as conveyed from its input arg's name, though we never check if input is really a 'front'), is 1063 more like a tmp fix, or some ref doc could be mentioned here as well to align with this specific adaptive choice of ref pt in CMOO? And if there is only 1 feasible point, we'd assume this behaves the same?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a temporary fix. It's possibly a very bad choice in general. On my current problem it works well because the constraints are quite restrictive. We may want to discuss what we want to do with reference point management in general. It feels that we can't stick to a single solution.
@vpicheny what do you want to do with this PR? |
In CEHVI, the reference point is now based on the feasible set of points rather than the optimal ones only.
In the plotting code, a bug is fixed so that the Pareto front excludes infeasible points according to the constraint.