Skip to content

Commit f71dc71

Browse files
committed
edit description
1 parent 7334763 commit f71dc71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contents/5.2_Prioritized_Replay_DQN/RL_brain.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717

1818
class SumTree(object):
1919
"""
20-
This SumTree code is modified version and the original code is from:
20+
This SumTree code is a modified version and the original code is from:
2121
https://github.com/jaara/AI-blog/blob/master/SumTree.py
2222
23-
Story the data with it priority in tree and data frameworks.
23+
Story data with its priority in the tree.
2424
"""
2525
data_pointer = 0
2626

@@ -88,7 +88,7 @@ def total_p(self):
8888

8989
class Memory(object): # stored as ( s, a, r, s_ ) in SumTree
9090
"""
91-
This SumTree code is modified version and the original code is from:
91+
This Memory class is modified based on the original code from:
9292
https://github.com/jaara/AI-blog/blob/master/Seaquest-DDQN-PER.py
9393
"""
9494
epsilon = 0.01 # small amount to avoid zero priority

0 commit comments

Comments
 (0)