Skip to content

Commit 069ec77

Browse files
Update README & environment
1 parent b45adb1 commit 069ec77

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,30 @@
33
This repository accompanies [Reinforcement Learning for Sequential Decision and Optimal Control](https://www.link.springer.com/book/10.1007/9789811977831) by Shengbo Eben Li(SpringerNature, 2024).
44

55
[comment]: #cover
6-
![Cover image]9789811977831.jpg)
6+
![Cover image](9789811977831.jpg)
77

88
Download the files as a zip using the green button, or clone the repository to your machine using Git.
99

1010
## Releases
1111

1212
Release v1.0 corresponds to the code in the published book, without corrections or updates.
1313

14+
## Run codes of this book
15+
Setup conda first, and install dependencies.
16+
```bash
17+
conda env create -n rlbook -f environment.yml
18+
conda activate rlbook
19+
```
20+
Then open each folder and run `main` or `plot` Python script.
21+
22+
## Source Layout
23+
1. `Chap_3_4_CleanRobot`: Code for robot cleaning example in Chapter 3 and 4.
24+
2. `Chap_5_AutoCar_GridRoad`: Code for autonomous car example in Chapter 5.
25+
3. `Chap_6_Actor_Critic_Algorithm`: Code for actor-critic algorithm in Chapter 6.
26+
4. `Chap_7_AC_wtih_Baseline`: Code for AC algorithm with baseline comparison in Chapter 7.
27+
5. `Chap_8_Veh_Track_Ctrl`: Code for vehicle tracking control example in Chapter 8.
28+
6. `Chap_9_Car_Brake_Control`: Code for emergency braking control example in Chapter 9.
29+
1430
## Contributions
1531

1632
See the file Contributing.md for more information on how you can contribute to this repository.

environment.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
channels:
2+
- conda-forge
3+
dependencies:
4+
- casadi=3.6.3=py39hc9cacc4_3
5+
- libprotobuf=3.21.12=hfc55251_2
6+
- matplotlib=3.5.3=py39hf3d152e_2
7+
- numba=0.58.1=py39h615d6bd_0
8+
- numpy=1.26.2=py39h474f0d3_0
9+
- pandas=2.1.4=py39hddac248_0
10+
- python=3.9.18=h0755675_0_cpython
11+
- pytorch-cpu=1.13.1=cpu_py39hdb170b5_1
12+
- pytorch-lightning=2.1.2=pyhd8ed1ab_0
13+
- scipy=1.11.4=py39h474f0d3_0
14+
- tensorboard=2.15.1=pyhd8ed1ab_0
15+
- tqdm=4.66.1=pyhd8ed1ab_0
16+
- pip:
17+
- gym==0.23.0

0 commit comments

Comments
 (0)