技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
aix360【数据与研究】Routes AIX360 explainability tasks across local black-box attribution, counterfactuals and certification, interpretable models, time-series explanations, datasets, and explanation-quality metrics.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repository skill for AI Explainability 360 (aix360) workflows over
tabular, text, image, and time-series data. It covers package version 0.3.0,
including modern CPU-usable routes and explicit boundaries around historical
TensorFlow/Keras and other optional dependency stacks.
AIX360 is a toolkit, not one universal explainer. First identify:
Use an isolated environment because AIX360 extras pin mutually incompatible versions for some algorithm families.
python -m pip install aix360
python -c "import aix360; from importlib.metadata import version; print(version('aix360'))"
Install only the extra for the chosen workflow, for example:
python -m pip install 'aix360[lime]'
python -m pip install 'aix360[tslime]'
python -m pip install 'aix360[rbm]'
Do not install every extra into one environment. In particular, CEM/ProfWeight and historical SHAP paths pin TensorFlow 1.14 with Keras 2.3.1, whereas nearest-neighbor contrastive pins TensorFlow 2.9.3; keep incompatible families in separate environments. Read installation and runtime troubleshooting before changing versions.
Run the bundled environment diagnostic to inspect the base package and selected optional modules without downloading data or models.
Read local-black-box for LIME, SHAP, Grouped Conditional Expectation, nearest-neighbor contrastive examples, faithfulness, monotonicity, prediction-callable contracts, feature names, and local explanation output validation.
Typical signals: explain_instance, predict_proba, local feature weights,
SHAP values, tabular/text/image attribution, exemplar/nearest-neighbor
explanation, or local metric debugging.
Read counterfactual-and-certification for CEM/CEM-MAF pertinent positives and negatives, Ecertify trust regions, GLANCE recourse/action costs, and order-constrained optimal-transport matching.
Typical signals: target class, actionable or immutable features, feature bounds,
recourse, robustness certificate, perturbation budget, OTMatchingExplainer, or
legacy CEM model setup.
Read interpretable-models for ProtoDash, Boolean/linear rule models, RIPPER/TRXF, interpretable model differencing, teaching explanations, and optional CoFrNet, DIPVAE, and ProfWeight workflows.
Typical signals: prototype selection, FeatureBinarizer, BRCG/GLRM, rule
induction, model comparison, explanation labels, directly interpretable
training, solver errors, graph export, or rule serialization.
Read time-series for TSICE, TSLime, and TSSaliency over univariate or multivariate histories, including forecast lookahead, relevant history, exogenous variables, perturbation windows, data shapes, and numeric-versus-plot output.
Typical signals: temporal attribution, integrated gradients, local surrogate, forecast window, time axis, feature axis, perturbation count, or exogenous series alignment.
Read datasets-and-metrics for AIX360 dataset constructors, local data layout, offline checks, preprocessing, and Faithfulness/Monotonicity metrics.
Typical signals: HELOC, COMPAS, CDC, MEPS, Ford, Sunspots, CIFAR, MNIST, CelebA, e-SNLI, missing dataset paths, downloads, coefficient alignment, or explanation-quality evaluation.
import aix360 proves only the base package. Import the selected
algorithm module and run a tiny fixture before trusting an optional route.Read API and method overview when the user names an algorithm but not its route. Read repository provenance before deciding whether this skill is stale for another checkout.