GithubHelp home page GithubHelp logo

sicnmf's Introduction

SiCNMF

Computes phenotypes using SiCNMF algorithm described in


Please cite above work if using this code.

REQUIREMENTS: python, python packages: numpy, scipy, sklearn

HOW TO USE:

  1. Fill in the input parameters in SiCNMF.config file (should be in the same directory as SiCNMF_start.py). Replace the sample inputs in the file.
  2. Run the following command in a terminal: python SiCNMF_start.py

INPUTS: ---model: CNMF for no sparsity inducing factors or SiCNMF ---sources: Comma separated list of sources of patient data to be used in SiCNMF ---Xfiles: Comma separated list of flat file names containing EHR data. Each file should be an .npy file containing a sparse matrix of EHR data of patients x source data. Check: numpy.load(<.npy filename>).ravel()[0] should return a sparse matrix of size nPatients x nSourceItems. ---nFactors: Number of latent factors/phenotypes to return ---[optional]outdir: Relative path to the directory to save output files. Default='./' ---[optional]etaSweep: Comma separated list of paramter values of eta to evaluate SiCNMF on. Default=[1]

OUTPUTS:

sicnmf's People

Contributors

sgunasekar avatar

Watchers

 avatar  avatar

Forkers

ruiatelsevier

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.