wenmin-wu/ds-skills/transitive-match-closure
Claude Code and agent skill by wenmin-wu/ds-skills
- community
Checking that the SKILL.md file is still in the repository.
Post-processes entity match predictions to enforce symmetry (A→B implies B→A) and transitivity (A→B, B→C implies A→C) via graph closure.
Install
npx vskill@latest install wenmin-wu/ds-skills/transitive-match-closureSKILL.md
Transitive Match Closure
Overview
Binary entity matching classifiers predict pairs independently, producing inconsistent match sets: A may match B without B matching A, or A matches B and B matches C but A doesn't match C. Transitive match closure fixes this by first enforcing symmetry (bidirectional links), then propagating matches through connected components. This consistently improves recall in entity deduplication and record linkage tasks.
Quick Start
Workflow
- Parse raw predictions into an ID → matches dictionary
- Enforce symmetry: for each A→B link, add B→A
- Enforce transitivity: propagate matches through connected components
- Rebuild prediction strings from the closed match sets
Key Decisions
- Symmetry only vs full closure: Symmetry is safe; transitivity can over-merge if classifier has false positives
- Iteration limit: Cap transitive passes to prevent runaway merging on noisy predictions
- Confidence filtering: Only propagate high-confidence matches to limit error cascading
- Union-Find alternative: For large datasets, use disjoint-set (union-find) for O(n) closure
References
- [[Foursquare] LGB + Catboost](https://www.kaggle.com/code/felipefonte99/foursquare-lgb-catboost)
- Foursquare - LightGBM Baseline
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/tabular/transitive-match-closure/SKILL.md
Popularity
- Repository stars
- 35
- Repository forks
- 2
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 27 Apr 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wenmin-wu/ds-skills/transitive-match-closure)