QDpy
Loading...
Searching...
No Matches
targeted_policy_qd.py File Reference

Compare SAC populations and fixed latent skill search on a small control task. More...

Go to the source code of this file.

Classes

class  targeted_policy_qd.PositionControl

Functions

 targeted_policy_qd.archive ()
 targeted_policy_qd.descriptor (episode)
 targeted_policy_qd.frozen_controller (observation, latent_code)
 targeted_policy_qd.backward_features (observation)
 targeted_policy_qd.audit (search)
 targeted_policy_qd.run (method, budget, seed)

Detailed Description

Compare SAC populations and fixed latent skill search on a small control task.

Definition in file targeted_policy_qd.py.

Function Documentation

◆ archive()

targeted_policy_qd.archive ( )
Create a common archive for the mean achieved position.

Definition at line 40 of file targeted_policy_qd.py.

◆ audit()

targeted_policy_qd.audit ( search)
Measure archived policies on common fresh starts and rebin the true scores.

Definition at line 60 of file targeted_policy_qd.py.

◆ backward_features()

targeted_policy_qd.backward_features ( observation)
Use a fixed basis containing the components of the task reward.

Definition at line 55 of file targeted_policy_qd.py.

◆ descriptor()

targeted_policy_qd.descriptor ( episode)
Return the mean post-action position.

Definition at line 45 of file targeted_policy_qd.py.

◆ frozen_controller()

targeted_policy_qd.frozen_controller ( observation,
latent_code )
Use a known latent-to-action map as a stand-in for a pretrained controller.

Definition at line 50 of file targeted_policy_qd.py.

◆ run()

targeted_policy_qd.run ( method,
budget,
seed )
Search or train one variant, then report common held-out metrics.

Definition at line 85 of file targeted_policy_qd.py.