CRISP-NAM: Competing Risks Interpretable Survival Prediction with Neural Additive Models
CRISP-NAM (Competing Risks Interpretable Survival Prediction with Neural Additive Models), an interpretable neural additive model for competing risks survival analysis which extends the neural additive architecture to model cause-specific hazards while preserving feature-level interpretability.
Overview
This package provides a comprehensive framework for competing risks survival analysis with interpretable neural additive models. CRISP-NAM combines the predictive power of deep learning with interpretability through feature-level shape functions, making it suitable for clinical and biomedical applications where understanding feature contributions is crucial.
Key Features
- Interpretable Architecture: Neural additive models that provide feature-level interpretability through shape functions
- Competing Risks Support: Native handling of multiple competing events in survival analysis
- Comprehensive Evaluation: Nested cross-validation with robust performance metrics (AUC, Brier Score, Time-dependent C-index)
- Hyperparameter Optimization: Automated tuning using Optuna with customizable search spaces
- Rich Visualizations: Automated generation of feature importance plots and shape function visualizations
- Multiple Training Modes: Standard training, hyperparameter tuning, and nested cross-validation
- Baseline Comparisons: DeepHit implementation for benchmarking against state-of-the-art methods
Requirements
Python >=3.10
Install the package
pip install crisp-nam
Install from source
- Clone the repository
git clone git@github.com:VectorInstitute/crisp-nam.git
- Install
via pip
cd crisp-nam
pip install -e
via uv
cd crisp-nam
uv sync
Research details
For more details regarding the research work, please refer to datasets.md and training.md within the project repository.
Contributing
Contributions are welcome! Please open issues or submit pull requests.
Citation
If you use our package, kindly acknowledge by citing our research.
@inproceedings{ramachandram2025crispnam,
title={CRISP-NAM: Competing Risks Interpretable Survival Prediction with Neural Additive Models},
author={Ramachandram, Dhanesh and Raval, Ananya},
booktitle={EXPLIMED 2025 - Second Workshop on Explainable AI for the Medical Domain},
year={2025}
}
License
This project is licensed under the MIT License.
Metadata
Release files for crisp-nam 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| crisp_nam-0.1.2.tar.gz | 16.2 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| crisp_nam-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.2 kB
Release files / crisp_nam-0.1.2.tar.gz
| Download URL | crisp_nam-0.1.2.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da8b0d05eca6d943d35642efebad2434a792e09aabc068fd6456dc01762b955f
|
|
BLAKE2b-256 checksum How to use checksums |
172a9345155d5f2936bc1b4f7d39a893030e3eb7df172539a2568feb8a09f276
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 17, 2026.
Transparency logRelease files / crisp_nam-0.1.2-py3-none-any.whl
| Download URL | crisp_nam-0.1.2-py3-none-any.whl |
|---|---|
| Size | 20.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37ac2535f3f317e9ed8eb762a14e22479726a2f7aa960a4712adab429ec523eb
|
|
BLAKE2b-256 checksum How to use checksums |
c8f3a1123bcca2775562c586b3b19e151fa9fce5b489b5dabc89e3550fd40164
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 17, 2026.
Transparency logSecurity for crisp-nam 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for crisp_nam-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 17, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.