Reward_function: Q-learning reward functions that are defined specifically for...

View source: R/Reward_function.R

Reward_functionR Documentation

Q-learning reward functions that are defined specifically for deterministic forecasting Author: Cong Feng This function calculates rewards for Q-learning agents

Description

Q-learning reward functions that are defined specifically for deterministic forecasting Author: Cong Feng This function calculates rewards for Q-learning agents

Usage

Reward_function(data_input, rwd_strategy)

Arguments

data_input

input data that contains states and actions in time series format

rwd_strategy

reward strategy index

Value

rewards


fengcong1992/QLearningForecast documentation built on Oct. 11, 2022, 1:47 p.m.