跳到正文
cccskills
免费在 GitHub 公开

aif360

Use IBM AI Fairness 360 for tabular fairness datasets, metrics, bias mitigation algorithms, sklearn-compatible workflows, subgroup detectors, and explainers.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(32)

  • SKILL.md4.9 KB
  • references/install-data-and-optional-deps.md4.3 KB
  • references/r-and-mlops-notes.md2.6 KB
  • references/repo-provenance.md2.0 KB
  • references/repo-routing-metadata.json306 B
  • references/troubleshooting.md3.7 KB
  • scripts/check_aif360_env.py4.6 KB
  • sub-skills/datasets-and-metrics/references/api-reference.md10.6 KB
  • sub-skills/datasets-and-metrics/references/data-formats.md8.3 KB
  • sub-skills/datasets-and-metrics/references/troubleshooting.md9.6 KB
  • sub-skills/datasets-and-metrics/references/workflows.md8.6 KB
  • sub-skills/datasets-and-metrics/scripts/metric_report_smoke.py6.0 KB
  • sub-skills/datasets-and-metrics/SKILL.md4.2 KB
  • sub-skills/detectors-and-explainers/references/explainer-reference.md2.9 KB
  • sub-skills/detectors-and-explainers/references/facts-workflow.md2.3 KB
  • sub-skills/detectors-and-explainers/references/mdss-workflow.md3.0 KB
  • sub-skills/detectors-and-explainers/references/troubleshooting.md3.4 KB
  • sub-skills/detectors-and-explainers/scripts/explainer_smoke.py2.7 KB
  • sub-skills/detectors-and-explainers/scripts/mdss_smoke.py2.1 KB
  • sub-skills/detectors-and-explainers/SKILL.md2.9 KB
  • sub-skills/mitigation-algorithms/references/algorithm-selection.md8.7 KB
  • sub-skills/mitigation-algorithms/references/optional-algorithms.md4.8 KB
  • sub-skills/mitigation-algorithms/references/troubleshooting.md7.5 KB
  • sub-skills/mitigation-algorithms/references/workflows.md6.1 KB
  • sub-skills/mitigation-algorithms/scripts/reweighing_smoke.py5.7 KB
  • sub-skills/mitigation-algorithms/SKILL.md2.3 KB
  • sub-skills/sklearn-interface/references/api-reference.md10.6 KB
  • sub-skills/sklearn-interface/references/optional-estimators.md6.9 KB
  • sub-skills/sklearn-interface/references/troubleshooting.md9.6 KB
  • sub-skills/sklearn-interface/references/workflows.md9.3 KB
  • sub-skills/sklearn-interface/scripts/sklearn_metric_smoke.py7.9 KB
  • sub-skills/sklearn-interface/SKILL.md2.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

AIF360 Repo Skill

Use this skill when a task involves the AI Fairness 360 (aif360) Python package: fairness datasets, group-fairness metrics, bias-mitigation algorithms, the preferred aif360.sklearn API, MDSS/FACTS subgroup detectors, or metric explainers.

Install and smoke-check first

Base package install:

pip install aif360
python -c "import aif360; print(aif360.__version__)"

For local package development, use an editable install in an isolated Python environment. For optional algorithms, install the smallest named extra that matches the requested workflow rather than aif360[all] by default; read install-data-and-optional-deps.md.

Run the bundled base smoke when importability or optional-warning noise is unclear:

python scripts/check_aif360_env.py --json

The smoke uses only synthetic in-memory data and does not download benchmark datasets or require optional extras.

Route by task

Task signalRead
Legacy BinaryLabelDataset, StructuredDataset, standard dataset wrappers, BinaryLabelDatasetMetric, ClassificationMetric, raw-data availability, or protected group dictionariesdatasets-and-metrics
Legacy aif360.algorithms preprocessing, inprocessing, postprocessing, deterministic reranking, optional mitigation extras, or before/after metric validationmitigation-algorithms
Preferred pandas/sklearn API, aif360.sklearn.datasets.fetch_*, protected attributes in pandas indexes, sklearn metrics/scorers, sklearn estimators, or PostProcessingMetasklearn-interface
MDSS subgroup bias scan, FACTS recourse subgroup reports, MetricTextExplainer, or MetricJSONExplainerdetectors-and-explainers
Install/import failures, raw dataset files, optional extras, warnings, Python versions, R wrapper, or MLOps sample boundariesRoot references below

Core decision points

  • Legacy vs sklearn API: choose legacy APIs for BinaryLabelDataset and legacy algorithms; choose aif360.sklearn for pandas/sklearn pipelines and future-facing DataFrame workflows.
  • Data availability: AIF360 documents common benchmark datasets, but most raw files are not bundled. Do not download data unless the user approves data acquisition and terms.
  • Optional extras: many algorithms are public but extra-gated. Missing TensorFlow, fairlearn, torch, cvxpy, BlackBoxAuditing, POT, FACTS, or R/rpy2 packages are not base-install failures unless the selected workflow needs them.
  • Fairness semantics: always make favorable_label, pos_label, privileged group, unprivileged group, protected attributes, and row alignment explicit before interpreting a metric or detector result.
  • Verification status: this skill verified base CPU package imports and synthetic dataset/metric workflows. Optional-extra workflows are documented but must be installed and smoke-tested in the user's runtime before claiming execution support.

Root references and scripts

Quick operating checklist

  1. Identify whether the user is using legacy datasets or aif360.sklearn.
  2. Confirm data source and raw-data/network permissions.
  3. Confirm protected attributes, privileged/unprivileged groups, and favorable labels.
  4. Install only the base package plus selected extras needed by the workflow.
  5. Run a bundled synthetic smoke before running real data or optional training.
  6. Use metrics or detectors to diagnose bias, then route to mitigation only if the user asks to change data/model/predictions.
  7. If the current package commit/version differs from repo-provenance.md, refresh this skill before relying on exact API claims.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题