cca-zoo


Namecca-zoo JSON
Version 1.1.9 PyPI version JSON
download
home_pagehttps://github.com/jameschapman19/cca_zoo
Summary
upload_time2021-01-21 09:01:54
maintainer
docs_urlNone
authorjameschapman
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![DOI](https://zenodo.org/badge/303801602.svg)](https://zenodo.org/badge/latestdoi/303801602)
[![codecov](https://codecov.io/gh/jameschapman19/cca_zoo/branch/master/graph/badge.svg?token=JHG9VUB0L8)](https://codecov.io/gh/jameschapman19/cca_zoo)
[![Build Status](https://www.travis-ci.com/jameschapman19/cca_zoo.svg?branch=master)](https://www.travis-ci.com/jameschapman19/cca_zoo)
[![Documentation Status](https://readthedocs.org/projects/cca-zoo/badge/?version=latest)](https://cca-zoo.readthedocs.io/en/latest/?badge=latest)

### Documentation at https://cca-zoo.readthedocs.io/en/latest/
### Can be installed using pip install cca-zoo
### Recently added DCCA by non-linear orthogonal iterations (https://arxiv.org/pdf/1510.02054.pdf)

# Credits:
If this repository was helpful to you please do give a star.

In case this work is used as part of research I attach a DOI bibtex entry:

```bibtex
@software{jameschapman19_2020_4382740,  
  author       = {jameschapman19},  
  title        = {jameschapman19/cca\_zoo: First pre-release},  
  month        = dec,  
  year         = 2020,  
  publisher    = {Zenodo},  
  version      = {v1.1.6},  
  doi          = {10.5281/zenodo.4382740},  
  url          = {https://doi.org/10.5281/zenodo.4382740}  
}
```

# Canonical Correlation Analysis Methods: cca-zoo
## Linear CCA/PLS:
A variety of linear CCA and PLS methods implemented where possible as the solutions to generalized eigenvalue problems and otherwise using alternating minimization methods for non-convex optimisation based on least squares
### CCA (Canonical Correlation Analysis)
Solutions based on either alternating least squares or as the solution to genrralized eigenvalue problem
### GCCA (Generalized CCA)  :
https://academic.oup.com/biomet/article-abstract/58/3/433/233349?redirectedFrom=fulltext
### MCCA (Multiset CCA)
### SCCA (Sparse CCA) :
Mai's sparse CCA
### SPLS (Sparse PLS/Penalized Matrix Decomposition)  :
Witten's sparse CCA
### PCCA (Penalized CCA - elastic net)
Waiijenborg's elastic penalized CCA
## Deep CCA:
A variety of Deep CCA and related methods. All allow for user to pass their own model architectures. Recently added solutions to DCCA using nob-linear orthogonal iterations (or alternating least squares)
### DCCA (Deep CCA) : 
https://ttic.uchicago.edu/~klivescu/papers/andrew_icml2013.pdf
https://arxiv.org/pdf/1510.02054v1.pdf
Using either Andrew's original Tracenorm Objective or Wang's alternating least squares solution
### DGCCA (Deep Generalized CCA)  :
https://www.aclweb.org/anthology/W19-4301.pdf
An alternative objective based on the linear GCCA solution. Can be extended to more than 2 views
### DMCCA (Deep Multiset CCA) :
https://arxiv.org/abs/1904.01775
An alternative objective based on the linear MCCA solution. Can be extended to more than 2 views
### DCCAE (Deep Canonically Correlated Autoencoders) :
http://proceedings.mlr.press/v37/wangb15.pdf
### DVCCA/DVCCA Private (Deep variational CCA):
https://arxiv.org/pdf/1610.03454.pdf
Wang's DVCCA and DVCCA Private
## Kernel CCA:
### Linear Kernel  
### RBF Kernel  
### Polynomial Kernels  



# Issues/Feedback
I've translated my work building baselines for my own research into a python package for my own experience but also, I hope,
to help others. With that in mind if you have either suggestions for improvements/additions do let me know using the issues tab.
The intention is to give flexibility to build new algorithms and substitute model architectures but there is a tradeoff between robustness and flexibility.

# Sources
I've added this section to give due credit to the repositories that helped me in addition to their copyright notices in the code where relevant.

Models can be tested on data from MNIST datasets provided by the torch package (https://pytorch.org/) and the UCI dataset provided by mvlearn package (https://mvlearn.github.io/)

Other Implementations of DCCA/DCCAE:

Keras implementation of DCCA from @VahidooX's github page(https://github.com/VahidooX)
The following are the other implementations of DCCA in MATLAB and C++. These codes are written by the authors of the original paper:

Torch implementation of DCCA from @MichaelVll & @Arminarj: https://github.com/Michaelvll/DeepCCA

C++ implementation of DCCA from Galen Andrew's website (https://homes.cs.washington.edu/~galen/)

MATLAB implementation of DCCA/DCCAE from Weiran Wang's website (http://ttic.uchicago.edu/~wwang5/dccae.html)

Implementation of VAE:

Torch implementation of VAE (https://github.com/pytorch/examples/tree/master/vae)

Implementation of Sparse PLS:

MATLAB implementation of SPLS by @jmmonteiro (https://github.com/jmmonteiro/spls)



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jameschapman19/cca_zoo",
    "name": "cca-zoo",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "jameschapman",
    "author_email": "james.chapman.19@ucl.ac.uk",
    "download_url": "",
    "platform": "",
    "description": "[![DOI](https://zenodo.org/badge/303801602.svg)](https://zenodo.org/badge/latestdoi/303801602)\n[![codecov](https://codecov.io/gh/jameschapman19/cca_zoo/branch/master/graph/badge.svg?token=JHG9VUB0L8)](https://codecov.io/gh/jameschapman19/cca_zoo)\n[![Build Status](https://www.travis-ci.com/jameschapman19/cca_zoo.svg?branch=master)](https://www.travis-ci.com/jameschapman19/cca_zoo)\n[![Documentation Status](https://readthedocs.org/projects/cca-zoo/badge/?version=latest)](https://cca-zoo.readthedocs.io/en/latest/?badge=latest)\n\n### Documentation at https://cca-zoo.readthedocs.io/en/latest/\n### Can be installed using pip install cca-zoo\n### Recently added DCCA by non-linear orthogonal iterations (https://arxiv.org/pdf/1510.02054.pdf)\n\n# Credits:\nIf this repository was helpful to you please do give a star.\n\nIn case this work is used as part of research I attach a DOI bibtex entry:\n\n```bibtex\n@software{jameschapman19_2020_4382740,  \n  author       = {jameschapman19},  \n  title        = {jameschapman19/cca\\_zoo: First pre-release},  \n  month        = dec,  \n  year         = 2020,  \n  publisher    = {Zenodo},  \n  version      = {v1.1.6},  \n  doi          = {10.5281/zenodo.4382740},  \n  url          = {https://doi.org/10.5281/zenodo.4382740}  \n}\n```\n\n# Canonical Correlation Analysis Methods: cca-zoo\n## Linear CCA/PLS:\nA variety of linear CCA and PLS methods implemented where possible as the solutions to generalized eigenvalue problems and otherwise using alternating minimization methods for non-convex optimisation based on least squares\n### CCA (Canonical Correlation Analysis)\nSolutions based on either alternating least squares or as the solution to genrralized eigenvalue problem\n### GCCA (Generalized CCA)  :\nhttps://academic.oup.com/biomet/article-abstract/58/3/433/233349?redirectedFrom=fulltext\n### MCCA (Multiset CCA)\n### SCCA (Sparse CCA) :\nMai's sparse CCA\n### SPLS (Sparse PLS/Penalized Matrix Decomposition)  :\nWitten's sparse CCA\n### PCCA (Penalized CCA - elastic net)\nWaiijenborg's elastic penalized CCA\n## Deep CCA:\nA variety of Deep CCA and related methods. All allow for user to pass their own model architectures. Recently added solutions to DCCA using nob-linear orthogonal iterations (or alternating least squares)\n### DCCA (Deep CCA) : \nhttps://ttic.uchicago.edu/~klivescu/papers/andrew_icml2013.pdf\nhttps://arxiv.org/pdf/1510.02054v1.pdf\nUsing either Andrew's original Tracenorm Objective or Wang's alternating least squares solution\n### DGCCA (Deep Generalized CCA)  :\nhttps://www.aclweb.org/anthology/W19-4301.pdf\nAn alternative objective based on the linear GCCA solution. Can be extended to more than 2 views\n### DMCCA (Deep Multiset CCA) :\nhttps://arxiv.org/abs/1904.01775\nAn alternative objective based on the linear MCCA solution. Can be extended to more than 2 views\n### DCCAE (Deep Canonically Correlated Autoencoders) :\nhttp://proceedings.mlr.press/v37/wangb15.pdf\n### DVCCA/DVCCA Private (Deep variational CCA):\nhttps://arxiv.org/pdf/1610.03454.pdf\nWang's DVCCA and DVCCA Private\n## Kernel CCA:\n### Linear Kernel  \n### RBF Kernel  \n### Polynomial Kernels  \n\n\n\n# Issues/Feedback\nI've translated my work building baselines for my own research into a python package for my own experience but also, I hope,\nto help others. With that in mind if you have either suggestions for improvements/additions do let me know using the issues tab.\nThe intention is to give flexibility to build new algorithms and substitute model architectures but there is a tradeoff between robustness and flexibility.\n\n# Sources\nI've added this section to give due credit to the repositories that helped me in addition to their copyright notices in the code where relevant.\n\nModels can be tested on data from MNIST datasets provided by the torch package (https://pytorch.org/) and the UCI dataset provided by mvlearn package (https://mvlearn.github.io/)\n\nOther Implementations of DCCA/DCCAE:\n\nKeras implementation of DCCA from @VahidooX's github page(https://github.com/VahidooX)\nThe following are the other implementations of DCCA in MATLAB and C++. These codes are written by the authors of the original paper:\n\nTorch implementation of DCCA from @MichaelVll & @Arminarj: https://github.com/Michaelvll/DeepCCA\n\nC++ implementation of DCCA from Galen Andrew's website (https://homes.cs.washington.edu/~galen/)\n\nMATLAB implementation of DCCA/DCCAE from Weiran Wang's website (http://ttic.uchicago.edu/~wwang5/dccae.html)\n\nImplementation of VAE:\n\nTorch implementation of VAE (https://github.com/pytorch/examples/tree/master/vae)\n\nImplementation of Sparse PLS:\n\nMATLAB implementation of SPLS by @jmmonteiro (https://github.com/jmmonteiro/spls)\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "",
    "version": "1.1.9",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "2c169e4c9ddaf81e68626b95a595321a",
                "sha256": "11c96c8875c6288e3869f8b5499b443a72dea43e85dc10be7de2988e748fa050"
            },
            "downloads": -1,
            "filename": "cca_zoo-1.1.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2c169e4c9ddaf81e68626b95a595321a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 39398,
            "upload_time": "2021-01-21T09:01:54",
            "upload_time_iso_8601": "2021-01-21T09:01:54.107984Z",
            "url": "https://files.pythonhosted.org/packages/16/65/fc0f160fff0cf69ae84f744ccab3471a5e3690f5fc8e00b5c5c984f8f350/cca_zoo-1.1.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-01-21 09:01:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": null,
    "github_project": "jameschapman19",
    "error": "Could not fetch GitHub repository",
    "lcname": "cca-zoo"
}
        
Elapsed time: 0.19385s