-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
71 lines (47 loc) · 3 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
# Reinforcement Learning: An Introduction, 2nd edition
<!-- badges: start -->
<!-- badges: end -->
The goal of this repo is to generate the examples and figures of Sutton & Barto's book [Reinforcement Learning: An Introduction (2nd Edition)](http://incompleteideas.net/book/the-book.html) in R.
## Prerequisites and How to Use
All codes are self-contained and in order to execute any of the code you need to install the [R](https://www.r-project.org/) and the following packages:
- [Tidyverse](https://github.com/tidyverse/tidyverse)
- [reshape2](https://cran.r-project.org/web/packages/reshape2/index.html)
- [patchwork](https://github.com/thomasp85/patchwork)
- [plotly](https://plotly.com/) (only for 3D plot in chapter 10)
You can check [my session info](#session-info) for more detail.
You can find the code usage examples in `.Rmd` files or in `.R` files.
## RMarkdown Outputs
- [**Chapter 1**](https://arashharatian.github.io/Reinforcement_Learning-an_Introduction-in_R/Chapter1/Chapter1.html)
- [**Chapter 2**](https://arashharatian.github.io/Reinforcement_Learning-an_Introduction-in_R/Chapter2/Chapter2.html)
- [**Chapter 3**](https://arashharatian.github.io/Reinforcement_Learning-an_Introduction-in_R/Chapter3/Chapter3.html)
- [**Chapter 4**](https://arashharatian.github.io/Reinforcement_Learning-an_Introduction-in_R/Chapter4/Chapter4.html)
- [**Chapter 5**](https://arashharatian.github.io/Reinforcement_Learning-an_Introduction-in_R/Chapter5/Chapter5.html)
- [**Chapter 6**](https://arashharatian.github.io/Reinforcement_Learning-an_Introduction-in_R/Chapter6/Chapter6.html)
- [**Chapter 7**](https://arashharatian.github.io/Reinforcement_Learning-an_Introduction-in_R/Chapter7/Chapter7.html)
- [**Chapter 8**](https://arashharatian.github.io/Reinforcement_Learning-an_Introduction-in_R/Chapter8/Chapter8.html)
- [**Chapter 9**](https://arashharatian.github.io/Reinforcement_Learning-an_Introduction-in_R/Chapter9/Chapter9.html)
- [**Chapter 10**](https://arashharatian.github.io/Reinforcement_Learning-an_Introduction-in_R/Chapter10/Chapter10.html)
- [**Chapter 11**](https://arashharatian.github.io/Reinforcement_Learning-an_Introduction-in_R/Chapter11/Chapter11.html)
- [**Chapter 12**](https://arashharatian.github.io/Reinforcement_Learning-an_Introduction-in_R/Chapter12/Chapter12.html)
- [**Chapter 13**](https://arashharatian.github.io/Reinforcement_Learning-an_Introduction-in_R/Chapter13/Chapter13.html)
## Session Info
```{r, message = FALSE, warning = FALSE}
library(tidyverse)
library(reshape2)
library(patchwork)
library(plotly)
sessioninfo::session_info()
```
## Contributing
Pull requests are welcome. For major changes, you may want to open an issue first to discuss what you would like to change.
If you want to add some missing figures or make any improvement, you are welcomed to make a pull request or open an issue.