Revert "Revert "[tune] PB2 (#11466)" (#11795)" (#11812)

This commit is contained in:
Richard Liaw
2020-11-04 20:47:12 -08:00
committed by GitHub
parent 612ddb2dd1
commit efa07d5403
12 changed files with 863 additions and 19 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