Skip to content

Commit

Permalink
Version 0.3.1 + README
Browse files Browse the repository at this point in the history
  • Loading branch information
Zethson committed Oct 16, 2023
1 parent 1078994 commit a20c744
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
24 changes: 11 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
## sparsecca
# sparsecca

Python implementations for Sparse CCA algorithms. Includes:

* Sparse (multiple) CCA based on Penalized Matrix Decomposition (PMD) from Witten et al, 2009.
* Sparse CCA based on Iterative Penalized Least Squares from Mai et al, 2019.

One main difference between these two is that while the first is very simple it assumes datasets to be white.

### Installation

#### Dependencies
One main difference between these two is that while the first is very simple it assumes datasets to be white.

In addition to basic scientific packages such as numpy and scipy, iterative penalized least squares needs either glmnet\_python or pyglmnet to be installed.
## Installation

#### This package can be installed normally with
### sparsecca is available on PyPI

```
git clone https://github.com/theislab/sparsecca
cd sparsecca
pip install .
pip install sparsecca
```

### Usage
### Iterative penalized least squares support

In addition to basic scientific packages such as numpy and scipy, iterative penalized least squares needs either glmnet\_python or pyglmnet to be installed.

## Usage

See examples, https://teekuningas.github.io/sparsecca

### Acknowledgements
## Acknowledgements

Great thanks to the original authors, see Witten et al, 2009 and Mai et al, 2019.
2 changes: 1 addition & 1 deletion sparsecca/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.3.0"
__version__ = "0.3.1"

from ._cca_pmd import cca as cca_pmd
from ._multicca_pmd import multicca as multicca_pmd
Expand Down

0 comments on commit a20c744

Please sign in to comment.