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

preprocessing-and-utilities

preprocessing-and-utilities

Routes numpy-ml preprocessing, tokenization, signal-processing, kernel, distance, graph, and data-structure utility tasks.

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: preprocessing-and-utilities description: "Routes numpy-ml preprocessing, tokenization, signal-processing, kernel, distance, graph, and data-structure utility tasks." disable-model-invocation: true metadata: disco-role: operating license: GPL 3.0

Preprocessing and Utilities

Use this sub-skill when a task is about preparing arrays or using numpy-ml helper objects before a model workflow:

  • standardization, one-hot encoding, and feature hashing;
  • tokenization, vocabularies, TF-IDF, BPE, and Huffman coding;
  • DFT, DCT, MFCC, framing, interpolation, and signal windows;
  • kernels, distance metrics, priority queues, ball trees, samplers, graph helpers, and testing utilities.

First Checks

  1. Run the smoke helper for the exact method names and output shapes:

    python sub-skills/preprocessing-and-utilities/scripts/preprocessing_utils_smoke.py
    
  2. Read references/api-reference.md before using an encoder or utility whose method names differ from scikit-learn.

  3. Read references/workflows.md for tiny tabular, text, signal, kernel, and graph utility recipes.

  4. Read references/troubleshooting.md for unknown labels, hasher sparse/dense issues, MFCC/audio assumptions, and optional comparison dependency questions.

Route by Task

User asks forUse this route
standardize arrays or encode labelsgeneral preprocessing API/workflow.
hash feature dictionariesFeatureHasher.encode guidance.
tokenize or build text vocab/TF-IDFNLP preprocessing workflow.
compute DFT/DCT/MFCC/window functionsDSP and window workflow.
kernels, distances, BallTree, priority queue, graph helpersutility API/workflow.
fit a supervised, probabilistic, neural, or RL modelroute to the model sub-skill after preprocessing.

Operating Notes

  • OneHotEncoder uses transform / inverse_transform; do not assume fit_transform exists.
  • FeatureHasher uses encode on dictionaries or lists of dictionaries.
  • Utilities are intended for small explicit NumPy examples. Keep validation scripts deterministic and avoid downloads or large data.
保存したスキル