Skip to content
Back to skills

Fair Graph Learning

ASecurity

"Use DIG's fair graph learning stack for NBA/POKEC datasets,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
businessgoapi

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill fair-graph-learning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fair Graph Learning?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fair Graph Learning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-fair-graph-learning/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-fair-graph-learning)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fair-graph-learning
description: "Use DIG's fair graph learning stack for NBA/POKEC datasets,
  Graphair training and evaluation, and fairness-aware graph representation
  workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: GPL 3.0
---

# Fair Graph Learning

Use this sub-skill for DIG workflows around Graphair, fairness metrics, and the NBA/POKEC datasets.

## Include

- `dig.fairgraph.dataset`: `NBA`, `POKEC`.
- `dig.fairgraph.method`: `run`, `graphair`, `aug_module`, `GCN`, `GCN_Body`, `Classifier`.
- `dig.fairgraph.utils.utils`: `accuracy`, `fair_metric`, `scipysp_to_pytorchsp`.
- Graphair training and evaluation workflows.

## Exclude

- Graph augmentation without fairness: use `../graph-augmentation/SKILL.md`.
- Molecular, 3D, SSL, explainability, GOOD, or large-scale graph workflows.

## Start Here

- Read `references/api-reference.md` for dataset fields, helper metrics, and the runner class.
- Read `references/workflows.md` for the Graphair training/evaluation path.
- Read `references/troubleshooting.md` when `.cuda()` assumptions or data downloads become a problem.
- Run `scripts/fairgraph_smoke.py` for a safe metric-only smoke check.

## Core Workflows

- **Dataset preparation**: instantiate NBA or POKEC, inspect sensitive attributes, and confirm the returned splits and metadata.
- **Graphair training**: use `run()` to construct the augmentation, encoder, adversary, and classifier stack, then train and evaluate.
- **Fairness metrics**: use `accuracy` and `fair_metric` for lightweight checks or reporting.

Files in this skill

  • SKILL.md1.5 KB
  • references/api-reference.md741 B
  • references/troubleshooting.md798 B
  • references/workflows.md626 B
  • scripts/fairgraph_smoke.py1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.