Skip to main content

Joint modeling with automatic differentiation

Project description

📦 jmstate

jmstate is a Python package for multi-state nonlinear joint modeling.
It leverages PyTorch for automatic differentiation and vectorized computation, making it efficient and scalable. The package provides a flexible framework where you can use neural networks as regression and link functions, while still offering simpler built-in options like parametric baseline hazards.

With jmstate, you can model longitudinal data jointly with multi-state transitions (e.g. health progression), capture nonlinear effects, and perform inference in complex real-world settings.


✨ Features

  • Multi-State Joint Modeling
    Supports subjects moving through multiple states with transition intensities that depend on longitudinal trajectories and covariates.

  • Nonlinear Flexibility
    Use neural networks (or any PyTorch model) as regression or link functions.

  • Built-in Tools
    Includes default baseline hazards, regression, link functions, and analysis utilities.

  • Automatic Differentiation
    Powered by PyTorch for efficient gradient computation and vectorization.


🚀 Installation

pip install jmstate

📖 Learn More

For tutorials, API reference, visit the official site:
👉 jmstate's documentation

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

jmstate-0.10.1.tar.gz (31.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jmstate-0.10.1-py3-none-any.whl (40.5 kB view details)

Uploaded Python 3

File details

Details for the file jmstate-0.10.1.tar.gz.

File metadata

  • Download URL: jmstate-0.10.1.tar.gz
  • Upload date:
  • Size: 31.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for jmstate-0.10.1.tar.gz
Algorithm Hash digest
SHA256 d11c837d9984bceacf6ae4c8c01a0aac5639e1754208da822a46379136fdd934
MD5 9c52de28a310396ea9a4dcc817313499
BLAKE2b-256 588949b6d2f8a657263cb47c4fd9df2cad11039157f15a30cac5e0b747f220c0

See more details on using hashes here.

File details

Details for the file jmstate-0.10.1-py3-none-any.whl.

File metadata

  • Download URL: jmstate-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 40.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for jmstate-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69d0a47b4c5ef5b3217ce3b077d25be4745f2cbbb861c814bf71ab7f6ad144de
MD5 7388eed09d9abf5635156d3fa58aa9fe
BLAKE2b-256 33dc7c86950d14923ca019a02687d4906edd24ce137ec8d4cad8f4e20ca3f340

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page