UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
データ・研究 · SKILL.md

spark-ml-pipelines

spark-ml-pipelines

Operate TensorFlowOnSpark Spark ML TFEstimator and TFModel DataFrame workflows for training and batch inference.

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

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:

Start here

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.
保存したスキル