A 150-lines python code for Augmented Random Search (https://arxiv.org/abs/1803.07055) with numpy.
I am definitly impressed by the simplicity and the performance of this algorithm. I did not parallelize computations, hence it could be quite less effective than authors' version (https://github.com/modestyachts/ARS).
But this version should be easyer to handle.
(1 episode contains 2 * n_directions * horizon
environment updates)
(took ~10 min on Intel i5 core)