makeReplayMemory: Experience Replay

View source: R/experience_replay.R

makeReplayMemoryR Documentation

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.

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

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

markdumke/reinforceR documentation built on Nov. 17, 2022, 12:53 a.m.