在深度学习论文中,经常会见到episode与epoch,这两个单词一般有啥细微的差别?

https://stats.stackexchange.com/questions/250943/what-is-the-difference-between-episode-and-epoch-in-deep-q-learning
one episode = one a sequence of states, actions and rewards, which ends with terminal state. For example, playing an entire game can be considered as one episode, the terminal state being reached when one player loses/wins/draws. Sometime, one may prefer to define one episode as several games (example: "each episode is a few dozen games, because the games go up to score of 21 for either player").one epoch = one forward pass and one backward pass of all the training examples, in the neural network terminology.https://stats.stackexchange.com/questions/250943/what-is-the-difference-between-episode-and-epoch-in-deep-q-learning

■网友
跑完整个训练数据集,叫做一个epoch。一个epoch包含多个episode。一个episode完成一次模型验证,保存最优模型,简单来说就是多少个step进行一次模型验证。
假设整个训练数据集有n=10,000个样本,batch_size=10,那么一个epoch就包含10,000/10=1,000个step(或iteration)。假设episodes=100,即一个episode包含100个step,那么一个epoch就包含1,000/100=10个episode。每一个episode完成后,进行一次模型验证,并保存模型(一般模型性能没有提升,则不保存)。
【在深度学习论文中,经常会见到episode与epoch,这两个单词一般有啥细微的差别?】 PS:似乎强化学习中用episode比较多,不太了解强化学习中一个episode表示啥。


    推荐阅读