It is used to update the models from experiences stored in the experience replay object. All experience have equal chances of being chosen.
Creates a new experience replay object.
UniformExperienceReplay.new(batchSize: number, numberOfRunsToUpdate: number, maxBufferSize: number)
batchSize: The number of experience to sample from for training.
numberOfRunsToUpdate: The number of run() function needed to be called to run a single event of experience replay.
maxBufferSize: The maximum number of experiences that can be kept inside the object.
Change the parameters of an experience replay object.
UniformExperienceReplay:setParametersbatchSize: number, numberOfRunsToUpdate: number, maxBufferSize: number)
batchSize: The number of experience to sample from for training.
numberOfRunsToUpdate: The number of run() function needed to be called to run a single event of experience replay.
maxBufferSize: The maximum number of experiences that can be kept inside the object.