Description Usage Arguments Value
Takes the current posterior parameters as a prior, and updates them using a single observation: phi and reward.
1 | update_post(phi, reward, posterior)
|
phi |
A vector containing the basis expansion of context vector x. |
reward |
The observed reward for the context vector x. |
posterior |
A list of the current posterior parameters. |
A list containing the updated posterior parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.