Learn R Programming

reinforcelearn (version 0.2.1)

getValueFunction: Get weights of value function.

Description

Returns the weights of the value function representation of the agent.

Usage

getValueFunction(agent)

Arguments

agent

[Agent] An agent created by makeAgent.

Value

For a value function table this will return a matrix, for a neural network a list with the weights of the layers.