Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Max Rakitin <mrakitin@users.noreply.github.com>
  • Loading branch information
thomaswmorris and mrakitin authored Apr 18, 2024
1 parent b7b1df0 commit dfa413f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/blop/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ def pareto_front_mask(self):
"""
A mask for all data points that is true when the point is on the Pareto front.
A point is on the Pareto front if it is Pareto dominant
A point is Pareto dominant if it is there is no other point that is better at every objective
A point is Pareto dominant if there is no other point that is better at every objective
Points that violate any constraint are excluded.
"""
y = self.train_targets()[:, self.objectives.type == "fitness"]
Expand Down
1 change: 1 addition & 0 deletions src/blop/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from .bayesian import acquisition

DEFAULT_COLOR_LIST = ["dodgerblue", "tomato", "mediumseagreen", "goldenrod"]
# Note: the values near 1 are hard to see on a white background. Turbo goes from red to blue and isn't white in the middle.
DEFAULT_COLORMAP = "turbo"
DEFAULT_SCATTER_SIZE = 16

Expand Down

0 comments on commit dfa413f

Please sign in to comment.