Create replay memory for experience replay.

makeReplayMemory(size = 100L, batch.size = 16L)

Arguments

size

[integer(1)] Size of replay memory.

batch.size

[integer(1)] Batch size.

Value

[list(size, batch.size)] This list can then be passed onto makeAgent, which will construct the replay memory accordingly.

Details

Sampling from replay memory will be uniform.

Examples

memory = makeReplayMemory(size = 100L, batch.size = 16L)