Skip to content
Back to skills

Data Transforms

ASecurity

"Operate Snorkel mappers, preprocessors, augmentation transforms,

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 9, 2026
toolspythonbashapi

Works with

  • api

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill data-transforms --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data Transforms?

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

Security grade badge for Data Transforms
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-data-transforms-00f95ee9/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-data-transforms-00f95ee9)

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: data-transforms
description: "Operate Snorkel mappers, preprocessors, augmentation transforms,
  and synthetic helpers."
metadata:
  disco-role: operating
disable-model-invocation: true
license: Apache 2.0
---

# data-transforms

Use this sub-skill for Snorkel data-point transforms that stay below labeling, slicing, and model-training workflows.

## Route here for

- `Mapper`, `BaseMapper`, `LambdaMapper`, and `lambda_mapper`
- `Preprocessor`, `preprocessor`, and `SpacyPreprocessor`
- `make_spark_mapper` and `make_spark_preprocessor`
- `TransformationFunction`, `transformation_function`, `TFApplier`, and `PandasTFApplier`
- `ApplyOnePolicy`, `ApplyEachPolicy`, `ApplyAllPolicy`, `RandomPolicy`, and `MeanFieldPolicy`
- `generate_simple_label_matrix`
- tiny smoke checks for copy semantics, memoization, `None`-skips, and preserved indices

## Route elsewhere

- Weak supervision label functions, `LabelModel`, and LF appliers: `../labeling/SKILL.md`
- Slice functions and slice-aware modeling: `../slicing/SKILL.md`
- Tensor datasets, collation, and classifiers: `../classification/SKILL.md`

## Read first

- [API reference](references/api-reference.md)
- [Workflows](references/workflows.md)
- [Troubleshooting](references/troubleshooting.md)
- [Smoke script](scripts/data_transform_smoke.py)

## Quick decision map

| Need | Use |
| --- | --- |
| Build or chain a data-point mapper/preprocessor | stay here |
| Parse text into a spaCy `Doc` field | stay here |
| Make a mapper/preprocessor work on Spark `Row` objects | stay here |
| Create augmentation TFs or choose a policy | stay here |
| Build LF or SF logic on top of a shared transform | define the transform here, then route to `../labeling/SKILL.md` or `../slicing/SKILL.md` |
| Turn weak labels or transformed tensors into model inputs | route to `../labeling/SKILL.md` or `../classification/SKILL.md` |

## Typical path

1. Identify the smallest transform primitive that solves the task.
2. Decide whether the input is a plain object, a Pandas row, or Spark `Row`.
3. Pick memoization only when repeated examples are expected.
4. Use the smoke script when you need a quick local check.

```bash
python scripts/data_transform_smoke.py
```

The smoke helper runs only tiny in-memory fixtures. It skips optional spaCy or PySpark checks when those extras are unavailable.

Files in this skill

  • SKILL.md2.3 KB
  • references/api-reference.md6.8 KB
  • references/troubleshooting.md2.6 KB
  • references/workflows.md4.6 KB
  • scripts/data_transform_smoke.py10 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…