⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 normgroupl2_project.m

📁 Spectral Projected L1 solver
💻 M
字号:
function x = NormGroupL2_project(groups,x,weights,tau)% Projection binary group matrix% Compute two-norms of rowsif isreal(x)   xa  = sqrt(sum(groups * x.^2,2));else   xa  = sqrt(sum(groups * abs(x).^2,2));end% Project one one-norm ballidx = xa < eps;xc  = oneProjector(xa,weights,tau);% Scale originalxc  = xc ./ xa; xc(idx) = 0;x   = full(groups' * xc).*x;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -