技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-processing-and-covariates【数据与研究】Use Darts preprocessing transformers, Pipeline, missing-value filling, scaling, inverse transforms, and covariate span checks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user needs to clean/transform Darts TimeSeries, fit preprocessing only on training data, inverse-transform forecasts, or build/validate past and future covariates.
references/workflows.md for train-only preprocessing, generated covariates, stacking, and span validation patterns.references/api-reference.md for verified constructor signatures and common transformer/covariate APIs.references/troubleshooting.md for leakage, inverse-transform, missing-value, covariate frequency, and horizon coverage errors.scripts/transform_pipeline_smoke.py for a tiny generated pipeline/covariate smoke.MissingValuesFiller, usually inside a Pipeline.Scaler or a Pipeline on train only, then transform validation/test; never fit on held-out data.inverse_transform() on the forecast with matching components.../forecasting-workflows/ for core/regression models or ../torch-and-foundation-models/ for neural models.python scripts/transform_pipeline_smoke.py --quiet
The script generates a small daily series, fills/scales train data, transforms validation data, inverse-transforms a toy forecast, stacks two future covariates, and asserts horizon coverage.
This sub-skill prepares data and covariates. It does not decide all model-family details or interpret final metrics. Do not solve future covariate span errors by extending the target series with fake values; extend/regenerate the covariate series instead.