Skip to main content

python 2.7 implementation of stability NMF (Siqi Wu 2016)

Project description

Amy Campbell, 2016

staNMF

Python 2.7 implementation of Siqi Wu et al.’s 2016 stability NMF (staNMF)

Package Contents

staNMF.py

staNMF.py class includes the necessary methods to perform stability NMF on a user-specified .csv datase (see sourcecode/staNMF_Example for precise usage instructions)

staNMF_Example.py

Example of staNMF demonstrated on Wu et al.’s 2016 drosophila spatial expression data between K=15 and K=30; Generates sample factorizations, calculates instability index, and plots instability against K

data/WuExampleExpression.csv

sample dataset (also available for download here)

Installation

$ pip install staNMF

Please note that staNMF requires SPAMs package (version 2.5), which is available from Julien Mairal et al. , or from Anaconda using:

$ conda install -c conda-forge python-spams=2.5

Acknowledgements

This work was supported by The Gordon and Betty Moore Foundation’s Data-Driven Discovery Initiative (GBMF 4552 to C.S.G.) and a grant from the National Institutes of Health (R01 CA200854)

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

staNMF-0.9.tar.gz (5.4 MB view details)

Uploaded Source

File details

Details for the file staNMF-0.9.tar.gz.

File metadata

  • Download URL: staNMF-0.9.tar.gz
  • Upload date:
  • Size: 5.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for staNMF-0.9.tar.gz
Algorithm Hash digest
SHA256 f2ce37964ac021bd41db5625d5250359dd47b6fa8dc89492f3402bf7064400e9
MD5 feabad870ddcd943e036c9a5ac6d0f9f
BLAKE2b-256 3890cf651be36fc6a255dec6ca552a2febc761b96d2990c1484adc64637424f0

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