InMDev commited on
Commit
8908631
1 Parent(s): 2245287

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -0
README.md CHANGED
@@ -23,6 +23,27 @@ model-index:
23
  # **Q-Learning** Agent playing1 **Taxi-v3**
24
  This is a trained model of a **Q-Learning** agent playing **Taxi-v3** .
25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  ## Usage
27
 
28
  ```python
 
23
  # **Q-Learning** Agent playing1 **Taxi-v3**
24
  This is a trained model of a **Q-Learning** agent playing **Taxi-v3** .
25
 
26
+ In Taxi-v3 🚕, there are four designated locations in the grid world indicated by R(ed), G(reen), Y(ellow), and B(lue).
27
+
28
+ When the episode starts, the taxi starts off at a random square and the passenger is at a random location. The taxi drives to the passenger’s location, picks up the passenger, drives to the passenger’s destination (another one of the four specified locations), and then drops off the passenger. Once the passenger is dropped off, the episode ends.
29
+
30
+ There are 500 discrete states since there are 25 taxi positions, 5 possible locations of the passenger (including the case when the passenger is in the taxi), and 4 destination locations.
31
+
32
+ The action space (the set of possible actions the agent can take) is discrete with **6 actions available 🎮**:
33
+
34
+ - 0: move south
35
+ - 1: move north
36
+ - 2: move east
37
+ - 3: move west
38
+ - 4: pickup passenger
39
+ - 5: drop off passenger
40
+
41
+ Reward function 💰:
42
+
43
+ - -1 per step unless other reward is triggered.
44
+ - +20 delivering passenger.
45
+ - -10 executing “pickup” and “drop-off” actions illegally.
46
+
47
  ## Usage
48
 
49
  ```python