makeReplayMemory: Experience Replay

Description Usage Arguments Details Value Examples

View source: R/experience_replay.R

Description

Create replay memory for experience replay.

Usage

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

Arguments

size

[integer(1)]
Size of replay memory.

batch.size

[integer(1)]
Batch size.

Details

Sampling from replay memory will be uniform.

Value

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

Examples

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

reinforcelearn documentation built on May 2, 2019, 9:20 a.m.