Coder Social home page Coder Social logo

sparse-generalized-correlation-analysis's Introduction

Sparse GCA and Thresholded Gradient Descent

Generic badge R

Overview of Sparse GCA

Generalized correlation analysis (GCA) is concerned with uncovering linear relationships across multiple datasets. It generalizes canonical correlation analysis that is designed for two datasets. We study sparse GCA when there are potentially multiple generalized correlation tuples in data and the loading matrix has a small number of nonzero rows. It includes sparse CCA and sparse PCA of correlation matrices as special cases. We first formulate sparse GCA as generalized eigenvalue problems at both population and sample levels via a careful choice of normalization constraints. Based on a Lagrangian form of the sample optimization problem, we propose a thresholded gradient descent algorithm for estimating GCA loading vectors and matrices in high dimensions. We derive tight estimation error bounds for estimators generated by the algorithm with proper initialization. We also demonstrate the prowess of the algorithm on a number of synthetic datasets.

This repository is the official implementation of our algorithm for sparse GCA in MATLAB and R.

For details of the algorithm, please check at https://www.jmlr.org/papers/v24/21-0745.html.

Algorithm

Our algorithm for solving sparse GCA is based on thresholded gradient descent (TGD) with generalized Fantope projection as the initialization.

Implementation

The algorithm is implemented in both MATLAB and R. For details of the implementation, please find in src/MATLAB Code and src/R Code. Examples of using our algorithm can be found in tutorials/MATLAB examples and tutorials/R examples.

Citation

If you find our work interesting or useful for your research. Please cite our work

Reference

@article{JMLR:v24:21-0745,
  author  = {Sheng Gao and Zongming Ma},
  title   = {Sparse GCA and Thresholded Gradient Descent},
  journal = {Journal of Machine Learning Research},
  year    = {2023},
  volume  = {24},
  number  = {135},
  pages   = {1--61},
  url     = {http://jmlr.org/papers/v24/21-0745.html}
}

sparse-generalized-correlation-analysis's People

Contributors

sggao avatar

Watchers

 avatar

Forkers

mamun41

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.