技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
datasets-and-metrics【数据与研究】Guides AIX360 dataset acquisition, local-path validation, preprocessing contracts, explanation-quality metrics, and offline troubleshooting for HELOC, COMPAS, CDC, MEPS, Ford, Sunspots, CIFAR, MNIST, CelebA, eSNLI, and related datasets.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this route when the task involves an AIX360 dataset, a local data directory, preprocessing, faithfulness, monotonicity, or explanation-quality checks. It covers data contracts and evaluation inputs; route model fitting, explainer construction, and explanation generation to the algorithm-owning sub-skill. Do not treat the dataset classes as download managers in an offline run.
--help first. Use its dataset checks against a user-supplied local
directory; it never downloads or instantiates a network-capable dataset
class.--no-network (the default) and fix structural failures first.dirpath explicitly. A
path argument does not imply offline behavior for classes whose constructor
still downloads missing files.x, coefs, and base refer to the
same feature order and length. For a sparse explanation, zero-fill a full
coefficient vector rather than passing only selected weights.predict_proba. Check
finite outputs and interpretation direction before aggregating cases.load_file contract separates feature columns, Y, and E.dirpath parameter in this release.faithfulness_metric(model, x, coefs, base) returns a scalar correlation-like
score. It removes each feature by replacing it with base and compares the
resulting predicted-class probabilities with coefs; higher positive values
are generally better, but constant inputs can produce nan.
monotonicity_metric(model, x, coefs, base) returns a boolean. It starts at
base, adds features in ascending signed coefficient order, and requires
predicted-class probabilities to be non-decreasing. This is not an absolute-
importance sort and is not a global model monotonicity proof.
Both functions use model.predict_proba, select the class predicted on x,
and reshape x to one row. They are local diagnostics, not causal or fairness
claims. See api-reference.md for exact details.
This route does not fit a classifier, train a neural network, call an explainer, or reproduce a full notebook. Hand those tasks to the relevant algorithm sub-skill. Dataset downloads, license forms, external R/SPSS conversion, large archives, and GPU/framework setup are documented limitations; the bundled checker provides a no-network structural alternative, not a downloader.