Skip to main content

scDiffEq: modeling 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.48rc3.tar.gz (84.5 kB view details)

Uploaded Source

Built Distribution

scdiffeq-0.0.48rc3-py3-none-any.whl (132.2 kB view details)

Uploaded Python 3

File details

Details for the file scdiffeq-0.0.48rc3.tar.gz.

File metadata

  • Download URL: scdiffeq-0.0.48rc3.tar.gz
  • Upload date:
  • Size: 84.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for scdiffeq-0.0.48rc3.tar.gz
Algorithm Hash digest
SHA256 e59ee786de678334614b0164f3111a9d19859b00da2438362720e77006cc2220
MD5 e5ae8938121d9eacd0298dc436fe8416
BLAKE2b-256 a8b94d664e46bbbcb5b76c507286611f9dd17eb8932b53c6aacfdec6ad15b270

See more details on using hashes here.

File details

Details for the file scdiffeq-0.0.48rc3-py3-none-any.whl.

File metadata

  • Download URL: scdiffeq-0.0.48rc3-py3-none-any.whl
  • Upload date:
  • Size: 132.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for scdiffeq-0.0.48rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 92a69666a1dc1a2595136328e7a0a84eb211c31e998c0328d7abfd68d0b2abc7
MD5 a707f3cf7467f2b90c64d1481c55668f
BLAKE2b-256 ac92813c56b5a2b41f16b95b894f0cc20a604b71bc357e1e7d26a5976d6d87c5

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