Skip to content

Commit

Permalink
Revert some changes for brivity
Browse files Browse the repository at this point in the history
  • Loading branch information
nabenabe0928 committed Dec 10, 2024
1 parent ef1481c commit a28e471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/samplers/hebo/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def _sample_relative_stateless(
params = pd.DataFrame([t.params for t in trials])
values[np.isnan(values)] = worst_value
values *= sign
hebo.observe(params, values[:, np.newaxis])
hebo.observe(params, values)
return self._suggest_and_transform_to_dict(hebo, search_space)

def sample_relative(
Expand Down

0 comments on commit a28e471

Please sign in to comment.