Skip to main content

scDiffEq: modelling single-cell dynamics using neural differential equations.

Project description

scdiffeq-logo

PyPI pyversions PyPI version Code style: black

An analysis framework for modeling dynamical single-cell data with neural differential equations, most notably stochastic differential equations allow us to build generative models of single-cell dynamics.

Install the development package:

git clone https://github.com/mvinyard/sc-neural-diffeqs.git; cd ./sc-neural-diffeqs;

pip install -e .

Main API

import scdiffeq as sdq
from neural_diffeqs import NeuralSDE

model = sdq.models.scDiffEq(
    adata, func=NeuralSDE(state_size=50, mu_hidden=[400, 400], sigma_hidden=[400, 400])
)
model.fit()

Built on:

pytorch_logopytorch_lightning_logo neural_diffeqs_logo

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

scdiffeq-0.0.46rc4.tar.gz (55.0 kB view details)

Uploaded Source

Built Distribution

scdiffeq-0.0.46rc4-py3-none-any.whl (90.9 kB view details)

Uploaded Python 3

File details

Details for the file scdiffeq-0.0.46rc4.tar.gz.

File metadata

  • Download URL: scdiffeq-0.0.46rc4.tar.gz
  • Upload date:
  • Size: 55.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for scdiffeq-0.0.46rc4.tar.gz
Algorithm Hash digest
SHA256 00dffb1d5f0a17a78e33c73fe5b143ca0ea1c7d4e782bc5de336d2d01f3af2c0
MD5 e55f5bf6da16e5b82d4bb327fb7abd76
BLAKE2b-256 e5c26d8280b82b04d734d3425df73ac896f720951a102e43d39bf78cce3631b2

See more details on using hashes here.

File details

Details for the file scdiffeq-0.0.46rc4-py3-none-any.whl.

File metadata

  • Download URL: scdiffeq-0.0.46rc4-py3-none-any.whl
  • Upload date:
  • Size: 90.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for scdiffeq-0.0.46rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 2efff6eb1ee358f145736c304e504c70b6e86bbd3fde03b20235108b1d68f028
MD5 fdb149a6523d40876e976366ea0153c3
BLAKE2b-256 6f528804f20311e8848226df2d797ffa4a834691834a9c91eacabba73191f37c

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