Skip to main content

Bayesian Event-Based Model for Disease Subtype and Stage Inference

Project description

pysubebm

Installation

pip install git+https://github.com/noxtoby/awkde
pip install git+https://github.com/hongtaoh/ucl_kde_ebm
pip install git+https://github.com/hongtaoh/pySuStaIn
pip install -e .

Changelogs

  • 2025-08-21 (V 0.0.3)
    • Did the generate_data.py.
  • 2025-08-22 (V 0.0.5)
    • Did the mh.py
    • Correct conjugate_priors implementation.
  • 2025-08-23 (V 0.1.2)
    • Improved functions in utils.py.
  • 2025-08-29 (V 0.1.3)
    • Didn't change much.
  • 2025-08-30 (V 0.1.8)
    • Optimized compute_likelihood_and_posteriors such that we only calculate healthy participants' ln likelihood once every time.
    • Made sure subtype assignment accuracy does not apply to healthy participants at all.
    • Fixed a major bug in data generation. The very low subtype assignment might be due to this error.
    • Included both subtype accuracy in run.py.
  • 2025-08-31 (V 0.2.5)
    • Resacle event times and disease stages for exp7-9 such that max(event_times) = max_stage -1, and max(disease_stages) = max_stage.
    • Changed the experiments and some of the implementation.
    • Forcing max(event_times) = max_stage -1, but not forcing disease stages.
  • 2025-09-01 (V 0.2.9)
    • REMOVED THE Forcing max(event_times) = max_stage -1
    • Modified the run.py.
  • 2025-09-02 (V 0.3.3.1)
    • Redid the staging and subtyping.
    • Integrated with labels and not.
  • 2025-09-04 (V 0.3.3.2)
    • Made sure in staging with labels, the new_order indices starts from 1 instead of 0. This is because participant stages now start from 0.
  • 2025-09-06 (V 0.3.5.6)
    • Added the plot function back.
  • 2025-09-08 (V 0.3.5.8)
    • Added ml_subtype in output results.
    • Added all_logs to the output returned in run.py.
  • 2025-09-21 (V 0.3.9)
    • Removed iteration >= burn_in when updating best_*.

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

bebms-0.4.0.tar.gz (85.1 kB view details)

Uploaded Source

Built Distribution

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

bebms-0.4.0-py3-none-any.whl (125.6 kB view details)

Uploaded Python 3

File details

Details for the file bebms-0.4.0.tar.gz.

File metadata

  • Download URL: bebms-0.4.0.tar.gz
  • Upload date:
  • Size: 85.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.19

File hashes

Hashes for bebms-0.4.0.tar.gz
Algorithm Hash digest
SHA256 24b825a6de228ffd0999d5298bef3225d05b828c35a14c240e9ca3d28356b1a1
MD5 4e09e34e508167996597f56f9ec908d7
BLAKE2b-256 d5114e77218d12d5d717c3b7599bf92c7e0523a1ff6b3d8ed44dbf3d2e475232

See more details on using hashes here.

File details

Details for the file bebms-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: bebms-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 125.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.19

File hashes

Hashes for bebms-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 123e1733d506545fa4f248ef90ee24b1e82298d205fbe0be06ecd2f8c24230ee
MD5 75d029d51fb3699fcaf7fa55fb3353e2
BLAKE2b-256 cc7b60a849a01c6605eae03f92882a52301c5f0b895379563a8aab1b59d7f9ce

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