Fast and scalable fitting of over-determined generalized-linear models (GLMs)
Project description
Fast and scalable fitting of over-determined generalized-linear models (GLMs)
batchglm was developed in the context of diffxpy to allow fast model fitting for differential expression analysis for single-cell RNA-seq data. However, one can use batchglm or its concepts in other scenarios where over-determined GLMs are encountered. batchglm is based on TensorFlow
Installation
- Install tensorflow, see below. Please use the pip installation if you are unsure.
- Clone the GitHub repository of batchglm.
- cd into the clone.
- pip install -e .
Tensorflow installation
Tensorflow can be installed like any other package or can be compiled from source to allow for optimization of the software to the given hardware. Compiling tensorflow from source can significantly improve the performance, since this allows tensorflow to make use of all available CPU-specific instructions. Hardware optimization takes longer but is only required once during installation and is recommended if batchglm is used often or on large data sets. We summarize a few key steps here, an extensive up-to-date installation guide can be found here: https://www.tensorflow.org/install/
Out-of-the-box tensorflow installation
You can install tensorflow via pip or via conda.
pip
- CPU-only:
pip install tensorflow
- GPU:
pip install tensorflow-gpu
Hardware-optimized tensorflow installation (compiling from source)
Please refer to https://www.tensorflow.org/install/.
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
Built Distribution
File details
Details for the file batchglm-0.7.4.tar.gz
.
File metadata
- Download URL: batchglm-0.7.4.tar.gz
- Upload date:
- Size: 96.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89da770c83eb778346fab7b4d784eef23564119cf79e13d0afe5050af6a9be2c |
|
MD5 | 5733c34800efec30b4abdf1c46c46681 |
|
BLAKE2b-256 | edb4269ebf8ae2c547fd0aaca1c4523f02e41fd8f102b24cb7c404fa4fa8c29d |
File details
Details for the file batchglm-0.7.4-py3-none-any.whl
.
File metadata
- Download URL: batchglm-0.7.4-py3-none-any.whl
- Upload date:
- Size: 140.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23f18fac2f82010c6bb6348081e14b2ebc0a8321a7e2dda805425b2e6028bde8 |
|
MD5 | c2ce364ab661d3afc7c7294aa69aef13 |
|
BLAKE2b-256 | fcc33ba576f2100aedd6121b6643760395f50fa74ef595489483842cdcfef4fb |