技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
custom-components【数据与研究】Implement custom PyTorch Forecasting metrics, models, package wrappers, data modules, and focused maintainer tests.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when you are adding or reviewing PyTorch Forecasting custom components for version 1.8.0: metrics/losses, v1 BaseModel implementations, v1 _pkg package containers, experimental v2 model/package/data-module components, and focused maintainer tests.
Do not use this sub-skill for ordinary package usage, release/changelog work, broad CI administration, documentation-site builds, or hyperparameter-tuning workflows.
MultiHorizonMetric contract, optional distribution-loss hooks, and package-wrapper tags when a metric must be discoverable.BaseModel / BaseModelWithCovariates / _pkg pattern, TimeSeriesDataSet.from_dataset rules, tensor-dict shape expectations, and registry tags.BaseModel, Base_pkg, TimeSeries, and EncoderDecoderTimeSeriesDataModule concepts without relying on source templates..from_dataset, tensor-shape, package-linkage, optional-dependency, or estimator tests, use references/troubleshooting.md; it maps common failure signals to fixes.MultiHorizonMetric; it is a syntactically valid, minimal class with a CPU self-check.Prefer small CPU fixtures and package-relative commands. Keep optional dependencies behind lazy imports and explicit python_dependencies tags. Treat v2 APIs as beta/unstable; prefer stable v1 TimeSeriesDataSet + BaseModel.from_dataset() unless the task explicitly targets v2 package/data-module layers.