SWXAI Documentation¶
SWXAI (Space Weather Explainable AI Toolkit) is a Python library that
provides a single, consistent API for running explainable-AI methods on image,
time-series, and tabular models for space-weather and heliophysics tasks. One
SpaceWeatherExplainer class dispatches to the right backend (PyTorch + Captum,
SHAP, LIME, AEON, Grad-CAM, …), validates inputs, and writes uniformly-named
outputs (attributions.npy, summary.json, *.png).
The toolkit is developed at the Data Mining Lab, Georgia State University.
Quick links
Installation: see Installation
First explanation in 10 lines: see Getting started
What method names can I pass? see Methods
Source on Bitbucket: bitbucket.org/gsudmlab/swxai
Contents¶
Getting started
User guide
Models
Tools and reproducibility
At a glance¶
Modality |
Methods |
Backends |
|---|---|---|
Image |
IG, Saliency, SmoothGrad, Occlusion, Grad-CAM/++ |
PyTorch + Captum, |
Time-series |
IG, Saliency, SmoothGrad, Occlusion, model-agnostic occlusion |
PyTorch + Captum, scikit-learn, AEON |
Tabular |
SHAP (Tree/Kernel), LIME, ICE, Ceteris-Paribus |
scikit-learn, SHAP, LIME |
Modality |
Input shape |
|---|---|
Image |
|
Time-series |
|
Tabular |
|