技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
preprocessing-and-utilities【数据与研究】Routes numpy-ml preprocessing, tokenization, signal-processing, kernel, distance, graph, and data-structure utility tasks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task is about preparing arrays or using numpy-ml
helper objects before a model workflow:
Run the smoke helper for the exact method names and output shapes:
python sub-skills/preprocessing-and-utilities/scripts/preprocessing_utils_smoke.py
Read references/api-reference.md before
using an encoder or utility whose method names differ from scikit-learn.
Read references/workflows.md for tiny tabular,
text, signal, kernel, and graph utility recipes.
Read references/troubleshooting.md for
unknown labels, hasher sparse/dense issues, MFCC/audio assumptions, and
optional comparison dependency questions.
| User asks for | Use this route |
|---|---|
| standardize arrays or encode labels | general preprocessing API/workflow. |
| hash feature dictionaries | FeatureHasher.encode guidance. |
| tokenize or build text vocab/TF-IDF | NLP preprocessing workflow. |
| compute DFT/DCT/MFCC/window functions | DSP and window workflow. |
| kernels, distances, BallTree, priority queue, graph helpers | utility API/workflow. |
| fit a supervised, probabilistic, neural, or RL model | route to the model sub-skill after preprocessing. |
OneHotEncoder uses transform / inverse_transform; do not assume
fit_transform exists.FeatureHasher uses encode on dictionaries or lists of dictionaries.