Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Principle:Snorkel team Snorkel Augmentation Policy Configuration

From Leeroopedia
Revision as of 18:23, 16 February 2026 by Admin (talk | contribs) (Auto-imported from principles/Snorkel_team_Snorkel_Augmentation_Policy_Configuration.md)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Sources
Domains Data_Augmentation, Sampling
Last Updated 2026-02-14 20:00 GMT

Overview

A strategy for configuring how transformation functions are sampled and sequenced to generate augmented data points.

Description

Augmentation Policy Configuration determines how transformation functions are combined and applied during data augmentation. A policy controls:

  • Selection: Which TFs to apply to each data point
  • Sequencing: How many TFs to chain in sequence
  • Repetition: How many augmented copies to generate per original
  • Retention: Whether to keep original data points in the output

Two main policy types are supported:

  • RandomPolicy: Uniformly samples TF sequences at random
  • MeanFieldPolicy: Samples TFs with user-specified probabilities (allowing weighted selection)

Usage

Use this principle after defining transformation functions and before applying them. Choose RandomPolicy for uniform exploration of augmentations, or MeanFieldPolicy when some TFs should be applied more frequently than others.

Theoretical Basis

A policy π defines a distribution over TF sequences:

π:Seq({1,,mtf},L)

where L is the sequence length. For MeanFieldPolicy with parameters p=(p1,,pmtf):

P(select TFj)=pj,jpj=1

For RandomPolicy: pj=1/mtf for all j.

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment