Artificial Intelligence, Machine Learning, Data Science, Reinforcement Learning, OpenAI.
e-greedy policy, choose an action Take the chosen action and get the next state and reward alongside the done status (whether the episode ended or not) Save current_state, action, reward, next_state in the replay deque If the replay length is above the threshold Apply GradientTape and Sample a