稀疏组套索_Python中的稀疏组套索

稀疏组套索

So yesterday I launched a new package for python: asgl (the name comes from Adaptive Sparse Group Lasso) that adds a lot of features that were already available in R packages but not in python, like solving sparse group lasso models, and goes beyond that, adding extra features that improve the results that sparse group lasso can provide.

所以昨天我为python启动了一个新软件包: asgl (名称来自Adaptive Sparse Group Lasso),它添加了许多R包中已经可用但python中没有的功能,例如解决稀疏组lasso模型,并且超出了此范围,添加了额外的功能来改善稀疏组的结果套索可以提供。

This is going to be the first article on a series about state-of-the-art regularization techniques in regression, and I would like to start talking about the sparse group lasso: what is it and how to use it. Specifically, here we will see:

这将是有关回归的最新正则化技术系列的第一篇文章,我想开始谈论稀疏组套索:它是什么以及如何使用它。 具体来说,在这里我们将看到:

  • What is sparse group lasso

    什么是稀疏组套索

  • How to use sparse group lasso in python

    如何在python中使用稀疏组套索

  • How to perform k-fold cross validation

    如何执行K折交叉验证

  • How to use grid search in order to find the optimal solution.

    如何使用网格搜索以找到最佳解决方案。

什么是稀疏组套索 (What is sparse group lasso)

To understand what is sparse group lasso we need to talk (briefly) about two techniques: lasso and group lasso. Given a risk function, for example the linear regression risk,

要了解什么是稀疏组套索,我们需要(简要地)谈论两种技术: 套索套索套索 。 给定风险函数,例如线性回归风险,

Image for post
Risk function of a linear regression model
线性回归模型的风险函数

Lasso: is defined by adding a penalization on the absolute value of the β coefficients,

套索:通过对β系数的绝对值加罚分来定义,

Image for post
  • 0
    点赞
  • 17
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值