Reinforcement Learning, Artificial Intelligence, Machine Learning, Data Science, Statistics.
total_reward += reward time_step += 1 #TRACKING REWARDS if initial_state in rewards_tracked: #storing rewards rewards_tracked[initial_state].append(total_reward) #save_obj(rewards_tracked,'Rewards') if ((episode+1) % threshold) == 0: #every 2000th episode save_obj(rewards_tracked,'Rewards')