ml-pipeline-patterns

Installation
SKILL.md

ML Pipeline Patterns

Expert patterns for building batch and streaming ML data pipelines with Apache Beam, Spark, dbt, and orchestrators.

Pattern 1: Apache Beam DoFn Pattern

The DoFn is Beam's per-element processing unit. Structure it to handle setup, processing, and teardown correctly.

import apache_beam as beam
from apache_beam.options.pipeline_options import PipelineOptions

class NormalizeFeaturesFn(beam.DoFn):
    """Normalize numerical features using precomputed statistics."""
Installs
1
First Seen
1 day ago