Implementation of Rainbow paper sans distributional RL as part of Reinforcement Learning course at Chula 2019
This repository contains the solution notebooks of all Rainbow improvements except distributional reinforcement learning.
The solutions folder contains
environments.py- TheSingleStockEnvironmentfor single-asset trading (buy, hold, sell)agents.py- Agents for function-approximation Q-learning and deep Q-learningnetworks.py- Networks used by the agentsmemories.py- Memories used by the agentsutils.py- Some utility functions
The notebooks are
qlearning_fa.ipynb- Function-approximation Q-learningdqn_vanilla.ipynb- Vanilla deep Q-learningdqn_double.ipynb- Double deep Q-learningdqn_prioritized.ipynb- DQN with prioritized memorydqn_nstep.ipynb- DQN with N-step memorydqn_dueling.ipynb- DQN with dueling networksdqn_noisy.ipynb- DQN with noisy linear layers for explorationdqn_rainbow.ipynb- Rainbow implementation without distributional RLdqn_trading.ipynb- Use Rainbow to trade bitcoins