Description Usage Arguments Details
View source: R/AsynchronousAdvantageActorCritic.R
Memory of one worker is transformed so it can be as input to the shiny app.
1 | prep.data.4.shiny(threads.data, choices, actions)
|
threads.data |
Memory of experience of one worker. |
choices |
Possible resulting choices as a string vector. In the IPD game this would be c("CC", "CD","DC","DD"). |
actions |
Actions space of the specific game [Currently only IPD is supported.] as a string vector. |
Returns a list with following items
memory.mat The experience of a worker stored in a numeric matrix.
graph.mat Network loss data stored in a numeric matrix.
help.data Additional data used in the shiny app.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.