Skip to main content

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

  1. Install tensorflow, see below. Please use the pip installation if you are unsure.
  2. Clone the GitHub repository of batchglm.
  3. cd into the clone.
  4. 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)

Source distribution for batchglm 0.7.4
File Size Uploaded
batchglm-0.7.4.tar.gz 96.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for batchglm 0.7.4
File Interpreter ABI Platform
batchglm-0.7.4-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.7.4 This release

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.6.8

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.1

1 release file

0.4.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page