|
QDpy
|
Initial-to-solution and across-solutions behavior characterization. More...
Go to the source code of this file.
Classes | |
| class | qdpy.algorithms.behavior_transfer.BehaviorCharacterization |
| Fixed descriptor scaling learned offline from successful training runs. More... | |
Namespaces | |
| namespace | qdpy |
Functions | |
| qdpy.algorithms.behavior_transfer.spirit_descriptor (states, actions, *, state_count, action_count) | |
| Estimate conditional action probabilities from a discrete state–action trace. | |
Initial-to-solution and across-solutions behavior characterization.
Definition in file behavior_transfer.py.
| qdpy.algorithms.behavior_transfer.spirit_descriptor | ( | states, | |
| actions, | |||
| * | , | ||
| state_count, | |||
| action_count ) |
Estimate conditional action probabilities from a discrete state–action trace.
| states | Integer sensory state IDs in [0, state_count), one per timestep. |
| actions | Integer action IDs in [0, action_count), one per timestep. |
| state_count | Number of possible sensory states. |
| action_count | Number of possible actions. |
Build the paper's SPIRIT-o behavior descriptor from a discrete trajectory.
Definition at line 24 of file behavior_transfer.py.