|
QDpy
|
Discounted feature predictions for each archived policy and first action. More...
Public Member Functions | |
| action_values (self, reward_weights) | |
| Evaluate every source policy's action-values under new reward weights. | |
| action_table (self, reward_weights) | |
| Return the greedy GPI action for every state. | |
Discounted feature predictions for each archived policy and first action.
The values array is indexed by policy, state, first action, and feature. Feature returns predict continuing with the source policy after the first action. GPI chooses the action with the highest value across all source policies independently at each visited state.
Definition at line 17 of file successor_repertoire.py.
| qdpy.algorithms.successor_repertoire.SuccessorFeatureRepertoire.action_table | ( | self, | |
| reward_weights ) |
Return the greedy GPI action for every state.
Break exact ties by choosing the lowest action index.
Definition at line 46 of file successor_repertoire.py.
| qdpy.algorithms.successor_repertoire.SuccessorFeatureRepertoire.action_values | ( | self, | |
| reward_weights ) |
Evaluate every source policy's action-values under new reward weights.
Return a (policy, state, action) array.
Definition at line 35 of file successor_repertoire.py.