SMX#

Spectral Model eXplainer

Explain spectral ML models with zone-level predicates

SMX is a global, model-agnostic explainer for spectral classifiers. It turns spectra into expert zones, generates logical predicates, and ranks them with a graph-based centrality score.

What SMX provides#

  • End-to-end pipeline via the SMX class

  • Zone extraction and PCA aggregation tailored to spectral inputs

  • Quantile predicates with bagging and perturbation-based ranking

  • Directed predicate graph with Local Reaching Centrality (LRC)

  • Natural-scale threshold reconstruction and Plotly visuals

  • Faithfulness evaluation with progressive masking

Quickstart

Run SMX end to end on a synthetic dataset in minutes.

Quickstart
Pipeline

Understand how zones, predicates, and graphs fit together.

Pipeline overview
Plotting Gallery

Explore the full suite of SMX visualization helpers.

Plotting gallery
API Reference

Auto-generated reference for every public module.

API reference
Examples

Scripts and notebooks shipped with the repository.

Examples
Repository Map

A guided tour of the SMX source tree.

Repository map

Contents#

API Reference