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 & GPU Support
    Powered by PyTorch for efficient gradient computation and vectorization.

  • Analysis & Visualization
    Tools for state occupancy probabilities, hazard estimation, and residual diagnostics.


🚀 Installation

pip install jmstate

📖 Learn More

For tutorials, API reference, visit the official site:
👉 jmstate 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.1.2.tar.gz (44.1 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.1.2-py3-none-any.whl (53.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jmstate-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6c8cb59e878728bf29ab9fffdb553d1a8bfe5aa74b94c211a99fb88968602511
MD5 8fbc1a7b7229a7a32b1a479f7385efc2
BLAKE2b-256 046c8d8bc74dea037bcf17c19b5a79e882b0d73131307a248b8bb5b4586e4d59

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jmstate-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 309794992251f2b8da7f29d35c4c60793cd442d1d7e839987253762741e4d28d
MD5 2b53b79b9093a86ba1e9bbd36c095012
BLAKE2b-256 7632a2035ab42f59812218a972bb1abb64e0532956ba4c0566500e80041398f2

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