shap-result-analysis
shap-result-analysis runs a survival-model result pipeline around
recommendations produced by shap-recommender. It supports exclusion,
non-linearity and interaction variants, independent confirmation, comparator
models, sequential ablation, calibration, proportional-hazards checks and
subgroup reporting.
Installation
pip install shap-result-analysis
Input files
The pipeline expects a data directory containing feature_spec.json and the
following tab-separated files:
X_disc_model.tsvandy_disc.tsvX_conf_model.tsvandy_conf.tsvX_train_model.tsvandy_train.tsvX_test_model.tsvandy_test.tsvX_train_original.tsvandX_test_original.tsv
Each outcome file must contain event and time columns. By default the data
directory is rebuttal_data, matching the source pipeline.
Command line
Run the full pipeline from the directory containing the data directory:
shap-result-analysis
Optional stages can be skipped:
shap-result-analysis --skip-validation --skip-comparators --skip-ablation
Library use
from result_analysis import main
main(
run_validation=True,
run_comparators=True,
run_ablation=True,
run_dose_response=True,
run_margin=False,
)
License
MIT
Release files for shap-result-analysis 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| shap_result_analysis-0.2.0.tar.gz | 30.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| shap_result_analysis-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 61.7 kB
Release files / shap_result_analysis-0.2.0.tar.gz
| Download URL | shap_result_analysis-0.2.0.tar.gz |
|---|---|
| Size | 30.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
882c5ce631ed6c8a6f0c70df441ef5eeec4c1ca2a1c7c9b589b9881e67cf1420
|
|
BLAKE2b-256 checksum How to use checksums |
9bca28a788b0e12f772e0bccd2a16186aac4acb77388cc4c3728fb1342fcf079
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|
Release files / shap_result_analysis-0.2.0-py3-none-any.whl
| Download URL | shap_result_analysis-0.2.0-py3-none-any.whl |
|---|---|
| Size | 31.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
828b50cdb9ef5e3b8b73b4da293afe7ee552c9b90f5257210ec921aa8b173e94
|
|
BLAKE2b-256 checksum How to use checksums |
43d285efac7e6f64561ceb7ac774a9e1d755edf03716abf6d27c8f42efcfc177
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|