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.
- Did the
- 2025-08-22 (V 0.0.5)
- Did the
mh.py - Correct conjugate_priors implementation.
- Did the
- 2025-08-23 (V 0.1.2)
- Improved functions in
utils.py.
- Improved functions in
- 2025-08-29 (V 0.1.3)
- Didn't change much.
- 2025-08-30 (V 0.1.8)
- Optimized
compute_likelihood_and_posteriorssuch 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.
- Optimized
- 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.
- REMOVED THE Forcing
- 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_subtypein output results. - Added all_logs to the output returned in
run.py.
- Added
- 2025-09-21 (V 0.3.9)
- Removed
iteration >= burn_inwhen updating best_*.
- Removed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
bebms-0.4.0-py3-none-any.whl
(125.6 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24b825a6de228ffd0999d5298bef3225d05b828c35a14c240e9ca3d28356b1a1
|
|
| MD5 |
4e09e34e508167996597f56f9ec908d7
|
|
| BLAKE2b-256 |
d5114e77218d12d5d717c3b7599bf92c7e0523a1ff6b3d8ed44dbf3d2e475232
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
123e1733d506545fa4f248ef90ee24b1e82298d205fbe0be06ecd2f8c24230ee
|
|
| MD5 |
75d029d51fb3699fcaf7fa55fb3353e2
|
|
| BLAKE2b-256 |
cc7b60a849a01c6605eae03f92882a52301c5f0b895379563a8aab1b59d7f9ce
|