正则化到底是怎么消除过拟合的?这次终于有人讲明白了!
「Python与算法社区」 第 305 篇原创“ 1 过拟合怎么产生的? ”
「Python与算法社区」 第 305 篇原创
1 过拟合怎么产生的?
模型训练之初,你压根不知道哪些特征会有用,于是你找了很多特征,以此来尽可能精确地去拟合训练数据。
图片来源于网络
“ 2 消除过拟合的通俗理解 ”
2 消除过拟合的通俗理解
“ 3 相比L2,L1正则更可能使模型变稀疏? ”
3 相比L2,L1正则更可能使模型变稀疏?
https://blog.csdn.net/weixin_39750084/article/details/83661413
https://www.zhihu.com/question/37096933
图片来源于网络
如果施加 L1
系数 C 大于原函数在 0 点处的导数的绝对值,
图片来源于网络
如果施加 L2,
d(Loss)/d(w) = 0
讲完了,读者朋友们,你们看明白了吗?
阅读更多:
长按二维码,关注我的公众号
阅读原文 最新评论
推荐文章
作者最新文章
你可能感兴趣的文章
Copyright Disclaimer: The copyright of contents (including texts, images, videos and audios) posted above belong to the User who shared or the third-party website which the User shared from. If you found your copyright have been infringed, please send a DMCA takedown notice to [email protected]. For more detail of the source, please click on the button "Read Original Post" below. For other communications, please send to [email protected].
版权声明:以上内容为用户推荐收藏至CareerEngine平台,其内容(含文字、图片、视频、音频等)及知识版权均属用户或用户转发自的第三方网站,如涉嫌侵权,请通知[email protected]进行信息删除。如需查看信息来源,请点击“查看原文”。如需洽谈其它事宜,请联系[email protected]。
版权声明:以上内容为用户推荐收藏至CareerEngine平台,其内容(含文字、图片、视频、音频等)及知识版权均属用户或用户转发自的第三方网站,如涉嫌侵权,请通知[email protected]进行信息删除。如需查看信息来源,请点击“查看原文”。如需洽谈其它事宜,请联系[email protected]。