Worker.A3C: Defines an Agent based on the A3C-Algorithm

Description Usage Arguments Details

View source: R/AsynchronousAdvantageActorCritic.R

Description

Internal function which is called from Train.A3C.

Usage

1
2
Worker.A3C(worker.number, game.state, model.par, algo.par, algo.var.worker,
  game.object, weights, Worker.Episode, model)

Arguments

worker.number

Number to identify the given worker.

game.state

Game State from the last round.

model.par

A list as given by Get.Def.Par.Neural.Network.A3C or Get.Def.Par.Neural.Network.A3C.LSTM.

algo.par

A list as given by Get.Def.Par.A3C.

algo.var.worker

A list as given by Initialise.A3C.

game.object

A Game Object (list) as defined by Get.Game.Object.<NAME>.

weights

Network weights from the Master Network.

Worker.Episode

The actual Episode of the Worker.

model

A Model as given by Setup.Neural.Network.A3C or Setup.Neural.Network.A3C.LSTM

Details

Returns a list with the following items


MartinKies/USLR documentation built on Nov. 10, 2019, 5:24 a.m.