当前位置:网站首页>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函数要进行浮点四则运算。
边栏推荐
- 金仓数据库 KingbaseES 插件DBMS_UTILITY
- Array structure collation
- SystemVerilog(十三)-枚举数据类型
- [the path of system analyst] Chapter 6: Double inventory demand engineering (comprehensive knowledge concept)
- 16 enterprise architecture strategies
- 性能之文件系统篇
- GaussDB 如何统计用户sql的响应时间
- CSRF攻击
- 每日3題(3)-檢查整數及其兩倍數是否存在
- Garbage collection mechanism
猜你喜欢
随机推荐
MySQL synchronous data configuration and shell script implementation
Shen Lu, China Communications Institute: police open source Protocol - ofl v1.1 Introduction and Compliance Analysis
keep-alive
3 Questions par jour (3) - vérifier l'existence d'entiers et de leurs doubles
Application of global route guard
Démarrer avec Apache shenyu
Is it safe for Guosen Securities to open a securities account
Detection and analysis of simulator in an app
1-7snapshots and clones in VMWare
zabbix分布式系统监控
【观察】ObjectScale:重新定义下一代对象存储,戴尔科技的重构与创新
Cdn+cos ultra detailed steps for drawing bed construction
Array structure collation
一个数学难题,难倒两位数学家
Daily 3 questions (2) - find out the lucky numbers in the array
金仓数据库 KingbaseES 插件DBMS_RANDOM
Oracle彻底卸载的完整步骤
一个五年北漂的技术er,根据这些年的真实经历,给应届生的一些建议
Complete steps for a complete Oracle uninstall
Detailed explanation of Android interview notes handler