Skip to content

Commit

Permalink
add unique search-space to function
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBlanke committed Jan 2, 2024
1 parent 9e3a191 commit 3826e15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions surfaces/mathematical_functions/gramacy_and_lee_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ def objective_function_dict(self, params):
loss = np.sin(10 * np.pi * x) / (2 * x) + (x - 1) ** 4

return self.return_metric(loss)

def search_space(self, value_types="array"):
return super().search_space(min=0.5, max=2.5, step=0.1, value_types=value_types)

0 comments on commit 3826e15

Please sign in to comment.