getValueFunction: Get weights of value function.

View source: R/accessor_functions.R

getValueFunctionR Documentation

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.


markusdumke/reinforcelearn documentation built on Nov. 20, 2022, 8:09 p.m.