QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.aprol.APROL Class Reference

Combine a compatibility bandit with one residual GP per transition prior. More...

Public Member Functions

 trials (self)
 trials_by_repertoire (self)
 repertoire_probabilities (self)
 Return the normalized compatibility and exploration weights of the priors.
 ask (self, desired_displacement)
 Choose one policy by prior weight and predicted probability density at the goal.
 tell (self, achieved_displacement)
 Record one actual observed displacement and invalidate affected residual models.

Detailed Description

Combine a compatibility bandit with one residual GP per transition prior.

Adapt several candidate skill repertoires under unknown dynamics.

Supply the desired displacement from the current state to the local
subgoal. Execute the selected skill and report its measured displacement.
Compatibility is based on nominal transition error. Gaussian process
residual corrections use every observed genome present in that prior.

:param repertoires: Ordered mapping from names to nonempty RTESkill sequences.
:param length_scale: GP length scale in nominal displacement coordinates.
:param prior_std: Standard deviation of unobserved transition residuals.
:param observation_std: Positive Gaussian observation noise.
:param compatibility_std: Scale of nominal-versus-observed transition errors.
:param goal_std: Positive tolerance used in the goal likelihood.
:param exploration: Nonnegative UCB coefficient for trying underused priors.

Definition at line 32 of file aprol.py.

Member Function Documentation

◆ ask()

qdpy.algorithms.aprol.APROL.ask ( self,
desired_displacement )

Choose one policy by prior weight and predicted probability density at the goal.

Return a skill for the local subgoal. Complete it with tell().

Definition at line 125 of file aprol.py.

◆ repertoire_probabilities()

qdpy.algorithms.aprol.APROL.repertoire_probabilities ( self)

Return the normalized compatibility and exploration weights of the priors.

Report weights before multiplying by the likelihood of reaching a subgoal.

Definition at line 107 of file aprol.py.

◆ tell()

qdpy.algorithms.aprol.APROL.tell ( self,
achieved_displacement )

Record one actual observed displacement and invalidate affected residual models.

Use a shared observation in each repertoire where the executed genome occurs.

Definition at line 147 of file aprol.py.

◆ trials()

qdpy.algorithms.aprol.APROL.trials ( self)
Return total reported live actions across all priors.

Definition at line 81 of file aprol.py.

◆ trials_by_repertoire()

qdpy.algorithms.aprol.APROL.trials_by_repertoire ( self)
Return a copy of the live selections charged to each prior.

Definition at line 86 of file aprol.py.


The documentation for this class was generated from the following file: