Skip to main content

Delayed sparse matrix in Python

Project description

## Delayed Sparse Matrix

Efficient sparse matrix implementation for various "Principal Component Analysis".
And demo usages of the efficient implementation for

* Correspondence Analysis(CA)
* Principal Component Analysis (PCA)
* Canonical Correlation Analysis (CCA)


To compare with existing methods, you can execute demo.sh.
```sh
>>> bash demo.sh
```

This library is effective when the input matrix size ls large.
But, in order to demonstrations, the demo programs use only a small matrix.
You can test more large matrix by setting SIZE variable in demo-*.sh


When the input matrix size is large,
the program of this library will finish within in few minutes,
but the existing methods take hours.



You can find more general description about CA and PCA in
https://github.com/MaxHalford/prince


## Installation

**Via PyPI**

```sh
>>> pip install delayedsparse
```

**Via GitHub for the latest development version**

```sh
>>> pip install git+https://github.com/niitsuma/delayedsparse
```


## Requirements

```sh
>>> pip3 install sklearn
```

In order to execute demo.sh, you need install /usr/bin/time and orange library

```sh
>>> apt-get install time
>>> pip3 install orange
```


## License

@2018 Hirotaka Niirtsuma.


You can use these codes olny for self evaluation.
Cannot use these codes for commercial and academical use.

* pantent pending
* https://patentscope2.wipo.int/search/ja/detail.jsf?docId=JP225380312
* Japan patent office:patent number 2017-007741



## Author
Hirotaka Niitsuma.


@2018 Hirotaka Niirtsuma.

Project details


Download files

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

Source Distribution

delayedsparse-0.2.4.tar.gz (18.2 kB view details)

Uploaded Source

File details

Details for the file delayedsparse-0.2.4.tar.gz.

File metadata

  • Download URL: delayedsparse-0.2.4.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/2.7.15

File hashes

Hashes for delayedsparse-0.2.4.tar.gz
Algorithm Hash digest
SHA256 24fc1a115d6bb49cbea895ba93ec1ad421a02c91af24e480f0c72e9f6ed9f79c
MD5 14e960b2bcc3108075ac3047771204b8
BLAKE2b-256 eb01d1d1724bfb9728f02935afacddc0f8fbe65f1c220e9eafb77f7b48f90ab1

See more details on using hashes here.

Supported by

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