This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
The DQN improvement: Prioritized Experience Replay (based on https://arxiv.org/abs/1511.05952) | |
View more on 莫烦Python: https://morvanzhou.github.io/tutorials/ | |
Using: | |
Tensorflow: 1.0 | |
""" | |
import numpy as np | |
import tensorflow as tf |