API reference¶
The API reference is generated from the tslens source docstrings, so signatures and defaults stay synchronized with the installed package.
Interpretation methods¶
| API | Best starting point for |
|---|---|
WinTSR |
Window-aware, joint time–feature attribution. |
TSR |
Gradient-based temporal saliency rescaling. |
WinIT |
Delayed and distributional feature importance. |
GateMask |
Sparse explanations learned for each input. |
Utilities¶
get_baseline creates zero, mean, random, or feature-wise normal
reference tensors. normalize_scale rescales attribution tensors.
Looking for an end-to-end example?
Start with the integration cookbook. Return here when you need the complete parameter list or exact output-shape behavior.