powered by
Create replay memory for experience replay.
makeReplayMemory(size = 100L, batch.size = 16L)
[integer(1)] Size of replay memory.
integer(1)
[integer(1)] Batch size.
[list(size, batch.size)] This list can then be passed onto makeAgent, which will construct the replay memory accordingly.
list(size, batch.size)
Sampling from replay memory will be uniform.
# NOT RUN { memory = makeReplayMemory(size = 100L, batch.size = 16L) # }
Run the code above in your browser using DataLab