当前位置:网站首页>李宏毅老师2020年深度学习系列讲座笔记4
李宏毅老师2020年深度学习系列讲座笔记4
2022-07-20 16:09:00 【ViviranZ】
瞎看吧。。。。至少做个笔记
https://www.bilibili.com/video/BV1UE411G78S?from=search&
终于讲到PPO了哈哈哈哈超搞笑超好玩的
首先给出基本要素啦,依旧是我们熟悉的actor、environment、reward function
和policy~
接下来就是讲了流程啦,观察到s_1→做出a_1→得到r_1→观察到新的s_2→……
一般来说~s_2和s_1、a_1都有关,而且一般来说是一个distribution而不是一个确定的值(打游戏并不是你看到这个页面做一个行动的结果是给定的,那样也太无聊啦!)
而且reward也不是一定的~因此我们针对这个问题,计算的不是一个reward而是reward的期望!(很多个trajectory的均值)
具体方法(公式推导在第二次笔记里说过了)
实作思路(复习啦)
用到的作为对照的都是sampling的结果
tips:1.baseline:因为reward是非负的 可能给不太好的action增大probability都会导致reward增加,因此通过add一个baseline只加比baseline大的,小的(由于乘上一个负数)概率会减小
2.可能有“败方MVP”现象:虽然有的总reward不好但是单步action好;有的虽然reward高但是有不好的action。
解决思路:因为每一条路上各个action如果都用(R(\tao^n)-b)一样的权重的话会造成平均但是不公平,因此我们用这一步之后所有的reward而不是整条trajectory的reward作为权重
还要乘上一个discount factor(\gamma)
1.本身离这action越远和action的关系越小
2.人们更希望得到奖励的时间尽量及时
边栏推荐
- wmware启用虚拟化功能报错
- bug汇总
- 展锐虎贲T310详解:首次将大核及DynamIQ架构引入入门级市场!
- SQL 改写系列六:谓词推导
- [Extension announcement] 2022 International Conference on touch and virtual reality (ichvr 2022)
- Don't know a little statistics, "Star Wars" for nothing
- 50个名额限量开放|带着OceanBase年度发布会的消息走来了!
- Wpf 多指应用开发解析
- Paper Time 回顾|MB2:为自治数据库建立行为模型
- 一文了解工业互联网标识解析二级节点
猜你喜欢
MDClub 轻量级网论坛源码
User experience | deeply cultivate user experience and build a moat for bank competition
商城异地多活架构设计
[wechat applet] xxxxx is not in the following list of socket legal domain names, please refer to the document
北森招股书:赛道优势凸显,一体化+中大客户是加分项
在VB6 处理pdf 和jpg文件
【延期公告】2022年触觉与虚拟现实国际会议(ICHVR 2022)
Heavy forecast! Analysys, together with Microsoft and the Central University of Finance and economics, talks about the digital economy
张小泉,冤吗?
Acwing第 60 场周赛【完结】
随机推荐
2022牛客暑假多校第一场ADJI
In July, the "China database industry analysis report" was released! Be prepared for danger in times of safety, safety first
FFMpeg WASAPI can't activate audio endpoint错误的处理
单片机外部中断触发方式:电平触发和边沿触发两者说明
半导体新晋独角兽,TCL刚刚投了18亿
我想问下ODPS的建表ddl不能直接在mysql里执行,STRING类型不兼容,这个是只能自己调整吗
JS smooth scroll to top
Both libraries have md5 h. You have to delete one of the redefined or unresolved external symbols. Get the serial port list and automatically get the serial port number
激励函数的作用之sigmoid
HTB-Aragog
关于指针数组与数组指针的一些事
User experience | deeply cultivate user experience and build a moat for bank competition
redis cluster搭建
JS-----第三章 js循环
Analysis of the overall architecture and accounting logic architecture of hyperledger fabric 1.0
Google Earth Engine ——neighborhoodToBands函数的使用
Understand the secondary node of industrial Internet identity analysis
Force deduction ----- how many numbers are smaller than the current number
bug汇总
codeforces educational round 131 ABCDEF