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/.
Metadata
Release files for batchglm 0.7.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| batchglm-0.7.4.tar.gz | 96.8 kB | Without provenance | Details for batchglm-0.7.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| batchglm-0.7.4-py3-none-any.whl | Python 3 | none | any | Details for batchglm-0.7.4-py3-none-any.whl |
Total release size: 237.5 kB
Release files / batchglm-0.7.4.tar.gz
| Download URL | batchglm-0.7.4.tar.gz |
|---|---|
| Size | 96.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89da770c83eb778346fab7b4d784eef23564119cf79e13d0afe5050af6a9be2c
|
|
BLAKE2b-256 checksum How to use checksums |
edb4269ebf8ae2c547fd0aaca1c4523f02e41fd8f102b24cb7c404fa4fa8c29d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / batchglm-0.7.4-py3-none-any.whl
| Download URL | batchglm-0.7.4-py3-none-any.whl |
|---|---|
| Size | 140.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23f18fac2f82010c6bb6348081e14b2ebc0a8321a7e2dda805425b2e6028bde8
|
|
BLAKE2b-256 checksum How to use checksums |
fcc33ba576f2100aedd6121b6643760395f50fa74ef595489483842cdcfef4fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for batchglm 0.7.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.