From 392e45d5710bbff8edb8dc46b5561b3e0d548448 Mon Sep 17 00:00:00 2001 From: Teytaud Date: Sun, 13 Mar 2022 16:49:09 +0100 Subject: [PATCH] Add a conformant GP experiment (#1337) * Adding a conformant GP experiment Because sometimes conformant planning, in spite of being super simple, performs incredibly well. * fix --- nevergrad/benchmark/gymexperiments.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nevergrad/benchmark/gymexperiments.py b/nevergrad/benchmark/gymexperiments.py index 5b6b325e6..cbaf32c46 100644 --- a/nevergrad/benchmark/gymexperiments.py +++ b/nevergrad/benchmark/gymexperiments.py @@ -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.