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

Compare QDAC, QDAC-MB, and optional SMERL on a small velocity task. More...

Go to the source code of this file.

Classes

class  qdac_mb.VelocityTrack
 Track a preferred velocity under bounded, asymmetric physical controls. More...

Functions

 qdac_mb.velocity_feature (observation, action, info)
 Measure instantaneous average velocity for training and testing.
 qdac_mb.trials (steps, seed, output_dir, *, timing=False, selected=("qdac", "qdac-mb"), smerl_threshold=14.)
 Train both methods at equal real interaction budgets and audit their exported policies.

Detailed Description

Compare QDAC, QDAC-MB, and optional SMERL on a small velocity task.

Definition in file qdac_mb.py.

Function Documentation

◆ trials()

qdac_mb.trials ( steps,
seed,
output_dir,
* ,
timing = False,
selected = ("qdac", "qdac-mb"),
smerl_threshold = 14. )

Train both methods at equal real interaction budgets and audit their exported policies.

Use the same reset seeds, descriptors, and achieved-cell audit geometry.

Definition at line 63 of file qdac_mb.py.

◆ velocity_feature()

qdac_mb.velocity_feature ( observation,
action,
info )

Measure instantaneous average velocity for training and testing.

Return the commanded velocity after applying damping.

Definition at line 57 of file qdac_mb.py.