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.48rc1.tar.gz (84.5 kB view details)

Uploaded Source

Built Distribution

scdiffeq-0.0.48rc1-py3-none-any.whl (131.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scdiffeq-0.0.48rc1.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.48rc1.tar.gz
Algorithm Hash digest
SHA256 e19dab3e0ede1975c063d7a456d5ebb85333ad50108f782012d31b6697a45660
MD5 5f4fc8445da8cf27eb1807a817301a8e
BLAKE2b-256 cbc52e61f11cd21db2f34064b98af274acf88caae2b6ba96e777e6391570db9a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scdiffeq-0.0.48rc1-py3-none-any.whl
  • Upload date:
  • Size: 131.9 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.48rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 c202833871dbc28453cc4d01ceaaefea6d0279c9397b70e106d6d1aba1954359
MD5 8d79543ef425ebfbf78a624360c980be
BLAKE2b-256 2e63367449eb16c2f9356b8f31ef1e2fd322bc9518724b5b9fb8b50ffdf4363a

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