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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: scdiffeq-0.0.48rc2.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.48rc2.tar.gz
Algorithm Hash digest
SHA256 8fe74d39934c938f076ddbdabf75652a8eee884c2a600cb99bd3db084052be2a
MD5 789cfeb7b7d391b7c73236bc2dc742c1
BLAKE2b-256 a87e1967ad88fd72c25756d9227a35067bb4dd75744c5aac6a3f4c383799d274

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scdiffeq-0.0.48rc2-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.48rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 064a1dbbf62871d7fce3dcefc39be2085819c4716e4bf58f296788ab564ef5c1
MD5 386f1964f08ce33dcaf062316f17c19e
BLAKE2b-256 2fa33602a23d2d2e6de4eccdf0aea4185614f375546fe6ba1d00bbe3cfeb1720

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