Skip to content
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

Add fishing experiment #1394

Merged
merged 6 commits into from
Mar 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update experiments.py
  • Loading branch information
teytaud authored Mar 17, 2022
commit e945a744d8c289dd335fc02646d46f9b03c3b1be
11 changes: 5 additions & 6 deletions nevergrad/benchmark/experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -1183,12 +1183,11 @@ def fishing(seed: tp.Optional[int] = None) -> tp.Iterator[Experiment]:
seedg = create_seed_generator(seed)
optims = get_optimizers("basics", seed=next(seedg))
for budget in [25, 50, 100, 200, 400, 800, 1600]:
if num_workers < budget:
for algo in optims:
for fu in funcs:
xp = Experiment(fu, algo, budget, seed=next(seedg))
if not xp.is_incoherent:
yield xp
for algo in optims:
for fu in funcs:
xp = Experiment(fu, algo, budget, seed=next(seedg))
if not xp.is_incoherent:
yield xp


@registry.register
Expand Down