Skip to content
Back to skills

Spark Ml Pipelines

ASecurity

"Operate TensorFlowOnSpark Spark ML TFEstimator and TFModel

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

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 spark-ml-pipelines --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spark Ml Pipelines?

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

Security grade badge for Spark Ml Pipelines
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-spark-ml-pipelines/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-spark-ml-pipelines)

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: spark-ml-pipelines
description: "Operate TensorFlowOnSpark Spark ML TFEstimator and TFModel
  DataFrame workflows for training and batch inference."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Spark ML Pipelines

Use this sub-skill for TensorFlowOnSpark DataFrame workflows built on Spark ML `Estimator` and `Model` APIs.

## Scope

Covers:
- `pipeline.TFEstimator` and `pipeline.TFModel`
- `Namespace`, `TFParams`, and ML param mixins
- `input_mapping` / `output_mapping`
- TF1 vs TF2 SavedModel loading, `tag_set`, `signature_def_key`, and `export_dir`
- batch inference model/session caching on Spark Python workers
- lexicographic mapping rules for DataFrame columns and tensor names

Does not cover:
- raw RDD queue training or `TFNode.DataFeed` loop semantics → [`../datafeed-inputmode/SKILL.md`](../datafeed-inputmode/SKILL.md)
- TFRecord DataFrame load/save and schema conversion → [`../dataframes-tfrecords/SKILL.md`](../dataframes-tfrecords/SKILL.md)
- full example command orchestration and `spark-submit` wiring → [`../examples-conversion/SKILL.md`](../examples-conversion/SKILL.md)

## Start here

- [`references/api-reference.md`](references/api-reference.md) for signatures, ordering rules, and TF1/TF2 behavior
- [`references/pipeline-workflows.md`](references/pipeline-workflows.md) for train/inference recipes and SavedModel selection
- [`references/troubleshooting.md`](references/troubleshooting.md) for common failure modes and recovery steps
- [`scripts/render_pipeline_template.py`](scripts/render_pipeline_template.py) to generate a Python skeleton with mapping placeholders

## Operating rules

1. Treat Spark ML pipeline use as `InputMode.SPARK` only.
2. Keep `input_mapping` and `output_mapping` as plain dictionaries.
3. Remember that training input columns are selected in lexicographic order by DataFrame column name.
4. Remember that inference output columns are ordered by lexicographic output tensor name.
5. Use `export_dir`, `tag_set`, and `signature_def_key` together when loading SavedModels for inference.
6. If a task depends on raw RDD queues, TFRecords, or example command flows, route it to the sibling sub-skill instead of expanding this one.
7. The helper script emits code templates only; it never trains a model or submits Spark jobs.

Files in this skill

  • SKILL.md2.3 KB
  • references/api-reference.md4.6 KB
  • references/pipeline-workflows.md3.6 KB
  • references/troubleshooting.md2.7 KB
  • scripts/render_pipeline_template.py5.6 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.