Description Usage Arguments Value Author(s) References
k-ToM's learning function, where it updates its level probability, parameter, choice probability and gradient etimates. This is called recursively.
1 2 | rec_learning_function(prev_hidden_states, params, choices, level, player,
p_matrix)
|
prev_hidden_states |
a list structure containing the states from last round |
params |
a list structure containing k-ToM's volatility parameter |
choices |
a vector of 1 own choice and 2 opponent's choice from last round |
level |
k-ToM's sophistication level |
player |
k-ToM's player role, i.e. which side of the payoff matrix is used |
p_matrix |
a given 2-by-2 payoff matrix |
A list structure containing the updates estimates by k-ToM and all the recursively simulated opponents
K. Enevoldsen & P. Waade
Devaine et al. (2014a, 2014b, 2017)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.