Skip to content
cccskills
FreePublished on GitHub

aif360

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

The English summary is being prepared. Showing the original description.

See how to install

Files included (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 (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

3ddfa

Free

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

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.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

acme

Free

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill