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.5.tar.gz (44.2 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.5-py3-none-any.whl (53.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jmstate-0.1.5.tar.gz
  • Upload date:
  • Size: 44.2 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.5.tar.gz
Algorithm Hash digest
SHA256 924281429d3be9c8c5c588a9f0ec61d23246612f796d503a802c19b8d570aadf
MD5 58ed3cd44526a3ec21e3d56a7b2b2d3b
BLAKE2b-256 92890eaa8e71af9360180dbb0abce330de36733c49f78993c297e7ec8a8797e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jmstate-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 53.6 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ebc966b9eeb20a1fd5b35452aa285f9d11b0ff2a67220a85c9676583f81efa93
MD5 17d8420757cb3d82213a6be8e4d2486b
BLAKE2b-256 48c0b6b3ef5a22f90f94aaad3bc8ecf92d149719c1aa063d92c1981ac997c21d

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