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 22.1948s 0.3927s 56.5x 🚀
Fidelity ($R^2$) - 0.9081
Correlation - 0.9490
Credit Default (Clf.) 30,000 / 23 Execution Time 47.0008s 2.4718s 19.0x 🚀
Fidelity ($R^2$) - 0.9776
Correlation - 0.9429

Reproducibility: You can run directly in: Open In Colab

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.5.tar.gz (42.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.5-cp38-abi3-win_amd64.whl (802.4 kB view details)

Uploaded CPython 3.8+Windows x86-64

striders-0.0.5-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.5-cp38-abi3-macosx_11_0_arm64.whl (711.4 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for striders-0.0.5.tar.gz
Algorithm Hash digest
SHA256 293cf397793af0fa53fc6250510077f124f272f889ee052336f99de416ed73dd
MD5 355dc9e6b06571c66a75b032ceb52c4d
BLAKE2b-256 991506ffe45c3f251b62f69515b12b5a22dd6101a6503f2ea8455d2c89088601

See more details on using hashes here.

File details

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

File metadata

  • Download URL: striders-0.0.5-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 802.4 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.5-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9cdbaa28bacb6604ba9e15ee59c2ca3d6262db08f3faac5ee4aeb7e758f3845d
MD5 e7b18acb026fb671be32c0742718d577
BLAKE2b-256 5af7891f3f5329cbb881e957291caebcd69d639771c82e635b77c199634c68c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for striders-0.0.5-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 93b80259fe3a857a927327b655ff5f3cfb54c6425c0a5f12cf68ac72bc6bbb6b
MD5 1a3a1d63e8fb5417c0cdf6b661b02356
BLAKE2b-256 efc339dc5490ad91583997a0c63ab9b4cf900c436c43377fbf932c90897d148c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for striders-0.0.5-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a88c84a65cac6502a5cd7a2d9c3464b5897c47093151c2615f14fb3b80c5e86f
MD5 73ef7fb43955f8a7f3f949da5b8fe00d
BLAKE2b-256 4ac2c37511a782dc44cd44c790a1f2f858f33f773b2edb834d5027c6509d8a67

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