Skip to content

Commit

Permalink
Merge pull request #201 from nabenabe0928/fix-mypy-in-ctpe
Browse files Browse the repository at this point in the history
Fix a typing error
  • Loading branch information
y0z authored Dec 10, 2024
2 parents 5cb16be + 2ac3c4e commit 660c61a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/samplers/ctpe/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def _sample(
)
quantiles.append(len(below_trials) / len(trials))

_samples_below: dict[str, list[_ParzenEstimator]] = {
_samples_below: dict[str, list[np.ndarray]] = {
param_name: [] for param_name in search_space
}
for mpe in mpes_below:
Expand Down

0 comments on commit 660c61a

Please sign in to comment.