Global Tabular Explanations
Use this sub-skill for Alibi tasks that explain tabular model behavior with global feature-effect methods.
Trigger phrases
Open this sub-skill when the user asks for any of the following:
- ALE curves or accumulated local effects
- partial dependence or ICE plots
- tree-based partial dependence
- PD variance feature importance or feature interaction
- permutation importance on tabular data
- feature-effect plots for scikit-learn-style predictors
What this sub-skill owns
ALEPartialDependenceTreePartialDependencePartialDependenceVariancePermutationImportance- plotting helpers for those methods
What it does not own
- anchors or local explanations
- SHAP or integrated gradients
- counterfactual methods
- confidence scores or prototype selection
- persistence / save-load guidance
Read next
references/workflows.mdfor method choice and execution flowreferences/api-reference.mdfor verified signatures and parameter notesreferences/troubleshooting.mdfor predictor, grid, and plotting failuresscripts/smoke_global_tabular.pyfor a safe CPU smoke
Typical flow
- Wrap the model as a batch predictor that returns
numpyoutputs. - Decide whether the task is ALE, PD, PD variance, or permutation importance.
- Pass feature names and categorical names when the plot needs readable labels.
- Use the smoke script on iris-sized data before trying a larger dataset.
- If the user actually needs SHAP or TensorFlow attribution, route them to the attribution sub-skill and its optional-dependency notes.
Good fits
- global feature effects on tabular data
- interpreting class probabilities or regression outputs with a small predictor wrapper
- comparing feature importance across model families
- understanding feature interactions with PD variance
Common failure signals
predictorreturns a list, scalar, or wrong class/probability shape- categorical features are passed with the wrong index or encoding
- a custom grid has unsorted or incompatible values
- the model is tree-based but the method expects a generic predictor or vice versa
- plotting fails because a feature name is missing or misaligned