[tune] PB2 (#11466)

Co-authored-by: Sumanth Ratna <sumanthratna@gmail.com>
Co-authored-by: Amog Kamsetty <amogkamsetty@yahoo.com>
Co-authored-by: Amog Kamsetty <amogkam@users.noreply.github.com>
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
This commit is contained in:
Jack Parker-Holder
2020-10-27 01:03:21 -07:00
committed by GitHub
co-authored by Sumanth Ratna Amog Kamsetty Amog Kamsetty Richard Liaw
parent 349c3ec86b
commit e7aafd7d24
12 changed files with 859 additions and 20 deletions
+1
View File
@@ -18,6 +18,7 @@ General Examples
- :doc:`/tune/examples/pbt_example`: Example of using a Trainable class with PopulationBasedTraining scheduler.
- :doc:`/tune/examples/pbt_function`: Example of using the function API with a PopulationBasedTraining scheduler.
- :doc:`/tune/examples/pbt_ppo_example`: Example of optimizing a distributed RLlib algorithm (PPO) with the PopulationBasedTraining scheduler.
- :doc:`/tune/examples/pb2_ppo_example`: Example of optimizing a distributed RLlib algorithm (PPO) with the PB2 scheduler. Uses a small population size of 4, so can train on a laptop.
- :doc:`/tune/examples/logging_example`: Example of custom loggers and custom trial directory naming.
Search Algorithm Examples
+6
View File
@@ -0,0 +1,6 @@
:orphan:
pb2_example
~~~~~~~~~~~
.. literalinclude:: /../../python/ray/tune/examples/pb2_example.py
@@ -0,0 +1,6 @@
:orphan:
pb2_ppo_example
~~~~~~~~~~~~~~~
.. literalinclude:: /../../python/ray/tune/examples/pb2_ppo_example.py