Skip to content
Back to skills

Domain Adaptation

ASecurity

"Router for Transfer-Learning-Library domain adaptation workflows,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
testingapi

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill domain-adaptation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Domain Adaptation?

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

Security grade badge for Domain Adaptation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-domain-adaptation-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-domain-adaptation-arex-skill)

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: domain-adaptation
description: "Router for Transfer-Learning-Library domain adaptation workflows,
  losses, and optional benchmark stacks."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Domain Adaptation

Use this sub-skill for TLLib domain-adaptation workflows, loss wiring, and benchmark recipe selection.

## What it covers
- Closed-set feature alignment: DANN, CDAN, ADDA, DAN, JAN, CORAL, BSP, MCD, MDD.
- Partial and open-set adaptation: PADA, IWAN, OSBP, class-weight reweighting, unknown-class thresholding.
- Special DA variants: AFN, MCC, RegDA keypoint, D-adapt object detection, and WILDS DA examples.

## Route elsewhere when
- Datasets, ImageList formats, model factories, or transforms are the main question: `../vision-data-models/SKILL.md`
- Translation, CycleGAN, FDA, or style-transfer is the main question: `../translation/SKILL.md`
- SSL, pseudo-labeling, or teacher/student training is the main question: `../self-training/SKILL.md`
- DG, fine-tuning, or standalone transfer regularization is the main question: `../task-generalization/SKILL.md`

## How to use
1. Identify the transfer setting: closed-set, partial, open-set, regression, keypoint, detection, or WILDS.
2. Pick the matching API or workflow reference in `references/`.
3. For CPU-safe validation, use `scripts/tllib_domain_adaptation_smoke.py`.
4. Treat object-detection and WILDS coverage as optional-stack guidance unless the user explicitly has those dependencies.

## Notes
- AFN appears here because it is used in DA workflows, but its standalone module mechanics live in the task-generalization / normalization path.
- MCC appears here because it is used in DA workflows, but its standalone semi-supervised mechanics live in the self-training path.
- Do not point users back to the source checkout or benchmark launchers; keep them on the bundled references and smoke helper.
- Keep benchmark-scale training, downloads, and optional dependency setup out of the smoke path.

## Reference map
- `references/api-reference.md` - public modules, losses, shapes, and common traps.
- `references/domain-adaptation-workflows.md` - classifier, regression, keypoint, and WILDS workflow patterns.
- `references/object-detection-adaptation.md` - D-adapt, Detectron2, proposal and feedback flow, optional stack notes.
- `references/wilds-workflows.md` - WILDS-specific CLI and dependency patterns.
- `references/troubleshooting.md` - shape, NumPy, TorchVision, CUDA, Detectron2, and WILDS issues.
- `scripts/tllib_domain_adaptation_smoke.py` - tiny CPU tensor smoke using installed `tllib`.

Files in this skill

  • SKILL.md2.6 KB
  • references/api-reference.md9.6 KB
  • references/domain-adaptation-workflows.md8.7 KB
  • references/object-detection-adaptation.md4.7 KB
  • references/troubleshooting.md4.5 KB
  • references/wilds-workflows.md3.1 KB
  • scripts/tllib_domain_adaptation_smoke.py10.3 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.