2019-01-14
阅读量:
1027
SGD 支持以下 penalties(惩罚)
具体的惩罚方法可以通过 penalty 参数来设定。 SGD 支持以下 penalties(惩罚):
penalty="l2": L2 norm penalty oncoef_.penalty="l1": L1 norm penalty oncoef_.penalty="elasticnet": Convex combination of L2 and L1(L2 型和 L1 型的凸组合);(1 - l1_ratio) * L2 + l1_ratio * L1.
默认设置为 penalty="l2" 。 L1 penalty (惩罚)导致稀疏解,使得大多数系数为零。 Elastic Net(弹性网)解决了在特征高相关时 L1 penalty(惩罚)的一些不足。参数 l1_ratio 控制了 L1 和 L2 penalty(惩罚)的 convex combination (凸组合)。
0.0000
0
3
关注作者
收藏
评论(0)
发表评论
暂无数据
推荐帖子
0条评论
0条评论
0条评论

