当前位置:网站首页>relu与sigmod的比较
relu与sigmod的比较
2022-06-25 10:56:00 【用户9854323】
relu的优势:
第一,防止梯度弥散,sigmod函数只有在0附近有较好的激活性,接近正负饱和区时,变换太缓慢,导数趋于0,造成梯度弥散,而relu函数在大于0的部分梯度为常数,所以不会产生梯度弥散现象;
第二,稀疏性,Relu会使一部分神经元的输出为0,这样就造成了网络的稀疏性,缓解了过拟合问题的发生,relu函数在负半区的导数为0 ,所以一旦神经元激活值进入负半区,那么梯度就会为0,也就是说这个神经元不会经历训练;
第三,加快计算,relu函数的导数计算更快,程序实现就是一个if-else语句,而sigmoid函数要进行浮点四则运算。
边栏推荐
- A five-year technical Er, based on the real experience of these years, gives some suggestions to the fresh students
- Open source invites you to participate in the openssf Open Source Security Online Seminar
- 金仓数据库 KingbaseES 插件DBMS_RANDOM
- Chinese translation of IMA Lazarus' the new giant, the goddess of Liberty
- Oracle彻底卸载的完整步骤
- Continuous delivery jenkinsfile syntax
- 有关计网的五种类型题
- 数组结构整理
- Es learning
- Remove the problem of orange border on the desktop control in WebView
猜你喜欢
随机推荐
keep-alive
A difficult mathematical problem baffles two mathematicians
GaussDB others内存比较高的场景
2022年PMP项目管理考试敏捷知识点(2)
龙书虎书鲸书啃不动?试试豆瓣评分9.5的猴书
Ouverture de l'inscription | le troisième marathon des hackers de pagaie est arrivé comme prévu.
Technical practice and development trend of video conference all in one machine
Network remote access using raspberry pie
Writing wechat applet with uni app
性能之内存篇
Is it safe to speculate in stocks by mobile phone?
What are the functions of arm64 assembly that need attention?
【文件包含漏洞-04】经典面试题:已知某网站仅存在本地文件包含漏洞时,如何GetShell?
Netease's open source distributed storage system curve officially became the CNCF sandbox project
keep-alive
Introduction to socket UDP and TCP
Checking whether the double value is an integer - Swift - checking if a double value is an integer - swift
某APP中模拟器检测分析
16 enterprise architecture strategies
Some assembly instructions specific to arm64








