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.


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