Artificial Intelligence, Machine Learning, Data Science, Reinforcement Learning, OpenAI.
where there is no end and the agent is engaged continuously The agent gets the final reward for every action taken at the end of the episode. If the episode is very long, you may not wish to wait this long to get a reward for action 1 which you will get after taking action 5829! Using REINFORCE