Git Product home page Git Product logo

proxlog's Introduction

ADMM algorithm for solving Proximal operator of the Latent Overlapping Group (LOG) lasso penalty (version 2.0)

This Matlab function contains our ADMM implementation with the sharing scheme to compute proximal operator of the LOG penalty. For more informatio, please refer to Zhang, D., Liu, Y., Davanloo Tajbakhsh, S. (2020), A first-order optimization algorithm for statistical learning with hierarchical sparsity structure

Content

\
|
+ --- prox_ADMM.m : solver for proximal operator of LOG penalty using ADMM
|
+ --- driver.m : Demo code for calling prox_ADMM
|
+ --- Compare_Algrhm : Code that compare different method of proximal operator

Function:

[beta,objval,penaltyval] = prox_ADMM(ancestor,b,iter_max,rho,lambda,w);

solves problem $$ \min_{\beta} \frac{1}{2}||\beta-b||^2 + \lambda \Omega_{\text{LOG}}(\beta) $$ Required input:

  • ancestor: cell array that stores the ancestor nodes of each node
  • b: vector
  • iter_max: maximum number of iteration
  • rho : stepsize of ADMM
  • lambda: parameter > 0
  • w : penalty value $\omega$ for each group

Output:

  • beta : solution of proximal operator
  • objval : objective value of proximal operator
  • penaltyval : value of LOG penalty $ \lambda \Omega_{\text{LOG}}(\beta) $

Another way to set ancestor is provided in driver.m. Users can define an $n\times 2$ matrix 'indx_arc' with each row to be a directed edge of DAG. Then the code below will generate the cell array ancestor.

%% Generate index of ancestor for each node
ancestor = cell(n_DAG,1);
for i = 1:n_DAG
    idx_ancestor = indx_arc(:, 2) == i;
    ancestor{i} = indx_arc(idx_ancestor, 1);
    ancestor{i} = unique([i;cell2mat({ancestor{[indx_arc(idx_ancestor, 1); i]}}')]);
end

proxlog's People

Contributors

samdavanloo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.