Skip to main content

Efficient surrogate-based model explanations (XAI) using landmark-based kernel approximations for scalable SHAP values.

Project description

release License

Striders is a lightning-fast, surrogate-based model explanations (XAI). It provides an efficient alternative to traditional SHAP by leveraging landmark-based kernel approximations. Striders implements a landmark-based approximation of the Shapley Kernel. By selecting representative landmarks, it reduces the complexity of the explanation process while maintaining high correlation with the true Shapley values.

Installation

pip install striders

Performance Benchmarking

Dataset (Task) Samples / Features Metric TreeSHAP Striders Speed-up
CA Housing (Reg.) 20,640 / 8 Execution Time 6.4243s 0.0784s 82.0x 🚀
Fidelity ($R^2$) - 0.9093
Correlation - 0.9506
Credit Default (Clf.) 30,000 / 23 Execution Time 13.7760s 0.4027s 34.2x 🚀
Fidelity ($R^2$) - 0.9776
Correlation - 0.9428

Reproducibility: You can reproduce these results by running the script.

Acknowledgments & Citations

This is an unofficial implementation based on the principles described in:

@article{ko2025stride,
  title={STRIDE: Subset-Free Functional Decomposition for XAI in Tabular Settings},
  author={Ko, Chaeyun},
  journal={arXiv preprint arXiv:2509.09070},
  year={2025}
}

If you find this implementation useful in your work, please consider citing this repository:

@software{striders2026,
  author={RektPunk},
  title={Striders: A High-Performance Rust-based Implementation of STRIDE},
  year={2026},
  url={https://github.com/RektPunk/striders},
}

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

striders-0.0.3.tar.gz (102.1 kB view details)

Uploaded Source

Built Distributions

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

striders-0.0.3-cp38-abi3-win_amd64.whl (791.8 kB view details)

Uploaded CPython 3.8+Windows x86-64

striders-0.0.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

striders-0.0.3-cp38-abi3-macosx_11_0_arm64.whl (702.1 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file striders-0.0.3.tar.gz.

File metadata

  • Download URL: striders-0.0.3.tar.gz
  • Upload date:
  • Size: 102.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.12.6

File hashes

Hashes for striders-0.0.3.tar.gz
Algorithm Hash digest
SHA256 cc6e8e0110106e9567fd9799c58f5b7d3f1bbb45bfad03e03891ac71a60b4c53
MD5 8fa62ec9fcf3587b2d3fdfced1046abb
BLAKE2b-256 03338e0a6cac3553356fd90a645828391ad2aa14666dfaf299f90c034ddd9884

See more details on using hashes here.

File details

Details for the file striders-0.0.3-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: striders-0.0.3-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 791.8 kB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.12.6

File hashes

Hashes for striders-0.0.3-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e709883490a2f22e38e3c51186686eec42e2619fa8229839fc75bc9230eaae8d
MD5 73f11a4fc48c6d3b6680222cea076c82
BLAKE2b-256 c413bc0081682ff5473713647bc67888d8e59c8bf5fdc62a0afda1c25cc81c01

See more details on using hashes here.

File details

Details for the file striders-0.0.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for striders-0.0.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 831e7d602532cf05df7381c0e2b9fa179fe4c6ec1741bae1786b32d5d72370d4
MD5 b5d8ee905a472c08ff2da2ab1792d9d5
BLAKE2b-256 a2962913688887a75406ca95d0e6f58b97c8072409531e11f2f8d0bc37ab5925

See more details on using hashes here.

File details

Details for the file striders-0.0.3-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for striders-0.0.3-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 82528e036c7e9a539822713459216b9fb8faa54f0073475fb4934e0640078b71
MD5 19e9bf7e76ca68ea245cafd8aac24392
BLAKE2b-256 06f9c3891a8edef9076bb36f8c370535f717fb9ee6865393fd78a68a10bc7116

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