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

single-task-modeling

single-task-modeling

Operate DeepCTR-Torch single-output binary classification and regression model workflows.

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: single-task-modeling description: "Operate DeepCTR-Torch single-output binary classification and regression model workflows." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Single-task modeling

Use this sub-skill when the user needs a single-output DeepCTR-Torch model for binary CTR-style classification or scalar regression.

Owns

  • Model families: WDL, DeepFM, xDeepFM, AFM, AFN, AutoInt, DCN, DCNMix, FiBiNET, IFM, DIFM, MLR, NFM, ONN, PNN, CCPM.
  • Choosing a single-task model family and constructor shape.
  • compile, fit, predict, evaluate, metrics, CPU/GPU device, callbacks, checkpointing, and save/load for single-task flows.
  • Binary-to-regression workflow conversion.
  • A self-contained DeepFM binary smoke helper.

Route away

Operating sequence

  1. Confirm the task is binary or regression and that the target is a single column.
  2. Obtain valid feature columns and model_input dictionaries from the feature-column skill.
  3. Select a model from the catalog; watch constructor exceptions for PNN and MLR.
  4. Compile with one of the supported strings:
    • optimizers: sgd, adam, adagrad, rmsprop
    • losses: binary_crossentropy, mse, mae
    • metrics: binary_crossentropy, logloss, auc, mse, accuracy, acc
  5. Train with fit, generate predictions with predict, and use evaluate or external sklearn metrics for final reporting.
  6. Add EarlyStopping or ModelCheckpoint only after the monitored metric is present in logs.

References

Bundled helper

  • scripts/deepfm_binary_smoke.py: inline tiny DeepFM binary example with --help, default one-epoch CPU run, optional CUDA device, prediction shape check, and final LogLoss/AUC reporting.
保存したスキル