Skip to main content

Canonical Correlation Analysis Zoo: A collection of Regularized, Deep Learning based, Kernel, and Probabilistic methods in a scikit-learn style framework

Project description

DOI codecov Build Status Documentation Status version downloads Anaconda-Server Badge Anaconda-Server Badge DOI

CCA-Zoo

cca-zoo is a collection of linear, kernel, and deep methods for canonical correlation analysis of multiview data. Where possible it follows the scikit-learn/mvlearn APIs and models therefore have fit/transform/fit_transform methods as standard.

Installation

Dependency of some implemented algorithms are heavy, such as pytorch and numpyro. We provide several options to accomodate the user's needs. For full details of algorithms included, please refer to section Implemented Methods

Standard installation:

pip install cca-zoo

For deep learning elements use:

pip install cca-zoo[deep]

For probabilistic elements use:

pip install cca-zoo[probabilistic]

Documentation

Available at https://cca-zoo.readthedocs.io/en/latest/

Citation:

CCA-Zoo is intended as research software. Citations and use of our software help us justify the effort which has gone into, and will keep going into, maintaining and growing this project. Stars on the repo are also greatly appreciated :)

If you have used CCA-Zoo in your research, please consider citing our JOSS paper:

Chapman et al., (2021). CCA-Zoo: A collection of Regularized, Deep Learning based, Kernel, and Probabilistic CCA methods in a scikit-learn style framework. Journal of Open Source Software, 6(68), 3823, https://doi.org/10.21105/joss.03823

With bibtex entry:

@article{Chapman2021,
  doi = {10.21105/joss.03823},
  url = {https://doi.org/10.21105/joss.03823},
  year = {2021},
  publisher = {The Open Journal},
  volume = {6},
  number = {68},
  pages = {3823},
  author = {James Chapman and Hao-Ting Wang},
  title = {CCA-Zoo: A collection of Regularized, Deep Learning based, Kernel, and Probabilistic CCA methods in a scikit-learn style framework},
  journal = {Journal of Open Source Software}
}

Implemented Methods

Standard Install

[deep] Install

[probabilistic] Install

Contributions

A guide to contributions is available at https://cca-zoo.readthedocs.io/en/latest/developer_info/contribute.html

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.

Other Implementations of (regularised)CCA/PLS

MATLAB implementation

Implementation of Sparse PLS

MATLAB implementation of SPLS by @jmmonteiro

Other Implementations of DCCA/DCCAE

Keras implementation of DCCA from @VahidooX's github page

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

C++ implementation of DCCA from Galen Andrew's website

MATLAB implementation of DCCA/DCCAE from Weiran Wang's website

MATLAB implementation of TCCA

Implementation of VAE

Torch implementation of VAE

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cca_zoo-1.12.11.tar.gz (63.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cca_zoo-1.12.11-py3-none-any.whl (101.7 kB view details)

Uploaded Python 3

File details

Details for the file cca_zoo-1.12.11.tar.gz.

File metadata

  • Download URL: cca_zoo-1.12.11.tar.gz
  • Upload date:
  • Size: 63.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for cca_zoo-1.12.11.tar.gz
Algorithm Hash digest
SHA256 b67b19714d7ba8451fb9cad2ed17de8a64634b8bdfa110e2b4daf6b961cc4026
MD5 17eafab18bb065b834c726042035cf27
BLAKE2b-256 9bcbb566c98798fc133951ff83df35a2ce4fcf5a41a62b8a86afeec119588b7a

See more details on using hashes here.

File details

Details for the file cca_zoo-1.12.11-py3-none-any.whl.

File metadata

  • Download URL: cca_zoo-1.12.11-py3-none-any.whl
  • Upload date:
  • Size: 101.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for cca_zoo-1.12.11-py3-none-any.whl
Algorithm Hash digest
SHA256 e9ba914d0e736716c1357a4b5e193e49f707bb85603cc52cea404979838cede9
MD5 ebd6b7218d85fdd4e706c6c70e147970
BLAKE2b-256 8998c406b544fcfd94fef748019ee466edbeb62633b037b5539bb1d9df261c98

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page