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.1.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.1.0.tar.gz | 28.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| shap_result_analysis-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.9 kB
Release files / shap_result_analysis-0.1.0.tar.gz
| Download URL | shap_result_analysis-0.1.0.tar.gz |
|---|---|
| Size | 28.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1065c1f6352d25d79d254d5ae43e0ba9d976e1e7738067f9eb1d947c937f7146
|
|
BLAKE2b-256 checksum How to use checksums |
db165bbef39ba914dec551293576ee4c949397488d6b7f2b240ea5ae8333e815
|
| 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.1.0-py3-none-any.whl
| Download URL | shap_result_analysis-0.1.0-py3-none-any.whl |
|---|---|
| Size | 30.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96856948bc630a32da7b03c3d91f080c65b2f138ab5dcfc28ff3f38005917350
|
|
BLAKE2b-256 checksum How to use checksums |
822221139e316ed42cabd528e0874f118ef745a2ee68f847986868791966d751
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|