Skip to content

Commit

Permalink
Add a conformant GP experiment (#1337)
Browse files Browse the repository at this point in the history
* Adding a conformant GP experiment

Because sometimes conformant planning, in spite of being super simple, performs incredibly well.

* fix
teytaud authored Mar 13, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 2ccea9e commit 392e45d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions nevergrad/benchmark/gymexperiments.py
Original file line number Diff line number Diff line change
@@ -221,6 +221,15 @@ def gp(seed: tp.Optional[int] = None) -> tp.Iterator[Experiment]:
return ng_full_gym(seed, gp=True)


@registry.register
def conformant_gp(seed: tp.Optional[int] = None) -> tp.Iterator[Experiment]:
"""GP benchmark.
Counterpart of ng_full_gym with a specific, reduced list of problems for matching
a genetic programming benchmark."""
return ng_full_gym(seed, conformant=True, gp=True)


@registry.register
def sparse_gp(seed: tp.Optional[int] = None) -> tp.Iterator[Experiment]:
"""GP benchmark.

0 comments on commit 392e45d

Please sign in to comment.