Journal article

ReinforcementLearning: A Package to Perform Model-Free Reinforcement Learning in R


Authors listPröllochs, Nicolas; Feuerriegel, Stefan

Publication year2019

JournalThe Journal of Open Source Software

Volume number4

Issue number38

Open access statusGold

DOI Linkhttps://doi.org/10.21105/joss.01087

PublisherOpen Journals


Abstract

Reinforcement learning refers to a group of methods from artificial intelligence where an agent performs learning through trial and error (Sutton & Barto, 1998). It differs from supervised learning, since reinforcement learning requires no explicit labels; instead, the agent interacts continuously with its environment. That is, the agent starts in a specific state and then performs an action, based on which it transitions to a new state and, depending on the outcome, receives a reward. Different strategies (e.g. Q-learning) have been proposed to maximize the overall reward, resulting in a so-called policy, which defines the best possible action in each state. As a main advantage, reinforcement learning is applicable to situations in which the dynamics of the environment are unknown or too complex to evaluate (e.g. Mnih et al., 2015). However, there is currently no package available for performing reinforcement learning in R. As a remedy, we introduce the ReinforcementLearning R package, which allows an agent to learn the optimal behavior based on sampling experience consisting of states, actions and rewards (Pröllochs & Feuerriegel, 2017). Based on such training examples, the package allows a reinforcement learning agent to learn an optimal policy that defines the best possible action in each state. Main features of ReinforcementLearning include, but are not limited to:
• Learning an optimal policy from a fixed set of a priori known transition samples
• Predefined learning rules and action selection modes
• A highly customizable framework for model-free reinforcement learning tasks




Citation Styles

Harvard Citation stylePröllochs, N. and Feuerriegel, S. (2019) ReinforcementLearning: A Package to Perform Model-Free Reinforcement Learning in R, The Journal of Open Source Software, 4(38), Article 1087. https://doi.org/10.21105/joss.01087

APA Citation stylePröllochs, N., & Feuerriegel, S. (2019). ReinforcementLearning: A Package to Perform Model-Free Reinforcement Learning in R. The Journal of Open Source Software. 4(38), Article 1087. https://doi.org/10.21105/joss.01087


Last updated on 2025-26-06 at 09:14