Reinforcement Learning (Q-learning) - Implementation using R (Part 2)
If you would like to understand the RL, Q-learning, and key terms please read Part 1. In this part, we will implement a simple example of Q learning using the R programming language from scratch. It is expected from you to understand the basics of R programming and complete the reading of Part 1 of this article. We are coding the algorithms using the R base package only however we would need a few libraries to plot the various matrix and visualize the output. The below function will create a plot of any R matrix using the plot.matrix
Jun-17-2020, 03:34:10 GMT
- Technology: