Learn R Programming

reinforcelearn (version 0.2.1)

makeReplayMemory: Experience Replay

Description

Create replay memory for experience replay.

Usage

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

Run this code
# NOT RUN {
memory = makeReplayMemory(size = 100L, batch.size = 16L)
# }

Run the code above in your browser using DataLab