|
QDpy
|
Compare PPGA, GAIL with EBC, and Dynamics-Aware QD on a small control task. More...
Go to the source code of this file.
Classes | |
| class | advanced_policy_qd.TargetControl |
Functions | |
| advanced_policy_qd.reward (observation, action, successor) | |
| advanced_policy_qd.measure (observation, action, successor, info) | |
| advanced_policy_qd.descriptor (episode) | |
| advanced_policy_qd.demonstrations (*, with_measures=False) | |
| advanced_policy_qd.run (method, budget, seed) | |
Compare PPGA, GAIL with EBC, and Dynamics-Aware QD on a small control task.
Definition in file advanced_policy_qd.py.
| advanced_policy_qd.demonstrations | ( | * | , |
| with_measures = False ) |
Generate four demonstrations, optionally including each step's measures.
Definition at line 58 of file advanced_policy_qd.py.
| advanced_policy_qd.descriptor | ( | episode | ) |
Measure mean position from a completed trajectory.
Definition at line 53 of file advanced_policy_qd.py.
| advanced_policy_qd.measure | ( | observation, | |
| action, | |||
| successor, | |||
| info ) |
Use the mean position as the archive descriptor.
Definition at line 48 of file advanced_policy_qd.py.
| advanced_policy_qd.reward | ( | observation, | |
| action, | |||
| successor ) |
Score the successor by its squared distance to the target.
Definition at line 23 of file advanced_policy_qd.py.
| advanced_policy_qd.run | ( | method, | |
| budget, | |||
| seed ) |
Report training costs and held-out true-return metrics for one run.
Definition at line 100 of file advanced_policy_qd.py.