在深度学习论文中,经常会见到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表示啥。
推荐阅读
- 四川乐山市犍为县发生4.2级地震震源深度13千米
- 四川自贡市荣县发生3.2级地震震源深度10千米
- 四川德阳市绵竹市发生3.4级地震震源深度8千米
- 现在在线学习视频有很多了,为啥大部分人还是喜欢下载下来观看
- 换个角度看车市|深度:长城炮越野皮卡1.5万公里长测之技术状态汇总
- 婴儿|美国儿科学会: 1岁以下婴儿不推荐学习游泳
- 新疆克孜勒苏州阿克陶县发生3.3级地震 震源深度140千米
- 在美国大学学习computer science 是啥样的体验
- 作为软件工程大二的学生,学习一般,编程一般,毕业后能干些啥
- 计算机深度学习方面sci三区期刊推荐
