【发布时间】:2021-07-05 11:27:57
【问题描述】:
Graphical Least Absolute Shrinkage and Selection Operator,由 Jerome Friedman、Trevor Hastie 和 Robert Tibshirani 介绍(“Sparse inverse covariance estimation with the graphics lasso”,2014 年)。他们建议使用块坐标下降算法来解决问题(参见 Rahul Mazumder 和 Trevor Hastie 的“The Graphical Lasso: New Insights and Alternatives”)。给定X(大小为m,n的回归矩阵),我使用CVX编写了这个简单的MATLAB代码:
S = cov(X,0);
cvx_begin
variable theta(n,n) semidefinite
minimize (trace(S*theta)-log_det(theta)+lambda*norm(theta,1))
cvx_end
块坐标下降算法解决方案和CVX解决方案有什么区别? CVX 可以设置为提供完全相同的解决方案吗? 该问题涉及图形 LASSO 算法,但可以扩展到其他类似问题,其中作者提出特定算法(例如 ADMM),但可以通过优化包找到解决方案。
【问题讨论】:
标签: algorithm matlab computational-geometry difference solution