facebookresearch / nevergrad

A Python toolbox for performing gradient-free optimization
https://facebookresearch.github.io/nevergrad/
MIT License
3.93k stars 352 forks source link

Add unordered case for TransitionChoice + use bins #1401

Closed jrapin closed 2 years ago

jrapin commented 2 years ago

Types of changes

Motivation and Context / Related issue

How Has This Been Tested (if it applies)

Checklist

teytaud commented 2 years ago

I think that in pbo_suite we need three cases:

It's: (i) adding something like: << elif instrumentation == "Unordered": parameterization = ng.p.TransitionChoice([0, 1], repetitions=dim, ordered=False)

in https://github.com/facebookresearch/nevergrad/blob/21ac3f4570127a9946cdb45e60c0245a3dddec35/nevergrad/functions/iohprofiler/core.py#L57 and (ii) adding "Ordered" in https://github.com/facebookresearch/nevergrad/blob/21ac3f4570127a9946cdb45e60c0245a3dddec35/nevergrad/functions/iohprofiler/core.py#L52 and (iii) adding "Ordered" in https://github.com/facebookresearch/nevergrad/blob/21ac3f4570127a9946cdb45e60c0245a3dddec35/nevergrad/benchmark/experiments.py#L1928

and the result of this experiment will be very interesting (I can run that if you wish, I do this kind of run everyday :-) ).