Logo: Ai Ml Timeseries

Ai Ml Timeseries

Communautéit
vasilyu1983
ai-ml-timeseries

Zäitserieprognosen mat temporaler Validatioun, Panelmodeller, probabilistesche Prognosen an TS-Foundation-Modeller. Benotzt dëse Skill, wann Dir geuerdent Observatioune modelléiert.

Add to TypingMind

Iwwersiicht

Editeurvasilyu1983
RepositoryAI-Agents-public
Skill-Nummai-ml-timeseries
Stären
87
Forks
19
Matgeliwwert Dateien
29
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 29 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    vasilyu1983 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Ai Ml Timeseries an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/ai-ml-timeseries
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vasilyu1983/AI-Agents-public.git /tmp/AI-Agents-public
mkdir -p .claude/skills
cp -r /tmp/AI-Agents-public/frameworks/shared-skills/skills/ai-ml-timeseries .claude/skills/ai-ml-timeseries
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Ai Ml Timeseries an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Ai Ml Timeseries automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Ai Ml Timeseries net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Time Series Forecasting - Production Patterns

Scope note: This skill covers forecasting system construction and evaluation. It is not part of the LLM-build or LLM-training stack — route LLM lifecycle, prompting, or provider questions to ai-llm.

July 2026 posture: define a cutoff timestamp before modelling, start with strong baselines, prefer horizon-aware validation over IID thinking, treat known-future covariates explicitly, and verify fast-moving tooling against current official docs before recommending it.

This skill is the implementation guide for forecasting systems:

  • timestamp integrity, frequency checks, and point-in-time feature design
  • local, global/panel, and hierarchical forecasting workflows
  • leakage-safe backtesting, horizon-wise evaluation, and business-loss alignment
  • probabilistic forecasting, calibration, and interval quality
  • time-series foundation models (TSFMs) and zero-shot benchmark patterns
  • forecasting-specific handoff, fallback, and lineage requirements

Use this skill for forecasting depth. Use sibling skills for general data science, generic LLM strategy, or full production operations.

When To Use This Skill

Activate this skill when the user asks for:

  • building or reviewing a forecast model
  • choosing between local, global/panel, hierarchical, or foundation-model approaches
  • creating lag, rolling, calendar, or known-future covariate features
  • designing a rolling-origin backtest or fixing temporal leakage
  • selecting forecasting metrics by horizon, segment, or business cost
  • adding prediction intervals, quantiles, or conformal calibration
  • comparing Chronos-2, Chronos-Bolt, Toto, TimesFM, AutoGluon TimeSeries, MLForecast, skforecast, or classical baselines
  • defining forecast-specific fallback, lineage, and handoff requirements

Scope Boundaries

  • General EDA, tabular modelling, experiment design, or reusable DS workflow -> ai-ml-data-science
  • Deployment architecture, monitoring stack, release gates, incident playbooks -> ai-mlops
  • Generic LLM lifecycle, prompting, or provider selection -> ai-llm
  • RAG and search systems -> ai-rag

Keep this skill focused on forecast creation, validation, and forecasting-specific operational patterns.

ASCII Flow

text
forecast need
  |
  v
forecast contract
  target + horizon + cutoff + granularity + business loss + update cadence
  |
  v
time-series validation
  timestamp integrity + leakage checks + rolling-origin backtest
  |
  v
model pattern
  naive baseline -> local/classical -> feature ML -> global/panel -> TS foundation
  |
  v
forecast handoff
  point/interval forecasts + lineage + fallback + monitoring trigger

Quick Reference

TaskDefault Tooling / PatternWhen To Use
Timestamp integritypandas, Polars, statsmodelsFrequency checks, missing timestamps, DST/timezone cleanup
Feature-based forecastingLightGBM/XGBoost + MLForecast or skforecastCovariate-rich, interpretable, scalable forecasts
Classical local baselinenaive, seasonal naive, ETS/SARIMAXSmall data, interpretable baseline, low-covariate settings
Global/panel forecastingMLForecast, AutoGluon TimeSeries, NeuralForecastMany related series, shared signal, unified training
Hierarchical coherenceHierarchicalForecastNeed forecasts that add up across levels
Probabilistic forecastsquantile regression, conformal, distributional modelsRisk-sensitive decisions, service-level planning
TS foundation modelsChronos-2 / Chronos-Bolt (Amazon), Toto (Datadog), TimesFM, AutoGluon TSFM supportZero-shot baselines, long horizons, sparse feature engineering; verify current releases
Backtestingrolling-origin / expanding windowsForecast validation without leakage
Forecast handoffcutoff timestamp + lineage + fallbackProduction-ready forecast packages

Workflow

  1. Define the forecast target, horizon, cutoff timestamp, granularity, and business-loss shape first.
  2. Route generic DS workflow or full production-ops work to the adjacent skill when forecasting depth is not the main need.
  3. Choose the baseline, feature pattern, and model family from the decision tree.
  4. Run leakage-safe backtests, compare horizon-aware metrics, and add interval or calibration checks when decisions need uncertainty.
  5. Verify fast-moving tooling and TSFM claims with the navigation and fact-checking sources before final recommendations.

Current-Facts Protocol For Current-Best-Tooling Recommendations

Use this protocol whenever the user asks for the best, latest, current, or still relevant forecasting tooling — TSFM releases, benchmark leaderboards, and package APIs move on a roughly quarterly cadence, so treat any specific version number or benchmark figure below as provisional pending a live check:

  1. Start from data/sources.json.
  2. Verify fast-moving facts with official docs or official repositories.
  3. Separate stable guidance from volatile facts such as current model capabilities, package APIs, or hosted deployment options.
  4. Recommend a default plus 1-2 alternatives, with tradeoffs by horizon, covariates, scale, and operational cost.

Use this protocol for questions such as:

  • "Should I use MLForecast, skforecast, or AutoGluon TimeSeries?"
  • "Should I use Chronos-2, Chronos-Bolt, or Toto as my zero-shot baseline?"
  • "What is the current MAPIE API for time-series conformal intervals?"
  • "Should I still be using Prophet or TBATS here?"

Decision Tree: Choose The Forecasting Pattern

text
Need to build or review a forecast:
    ├─ One series or a small local portfolio?
    │   ├─ Few covariates, interpretability first -> naive/seasonal naive + ETS/SARIMAX baseline
    │   └─ Nonlinear effects or richer covariates -> feature-based boosting
    │
    ├─ Many related series?
    │   ├─ Need one shared model with covariates -> global/panel forecasting
    │   └─ Need rollups to add up across levels -> hierarchical forecasting + reconciliation
    │
    ├─ Intermittent or zero-heavy demand?
    │   ├─ Very sparse and operationally simple -> Croston/SBA/ADIDA baseline
    │   └─ Need richer covariates or scale -> global boosting with zero-aware features
    │
    ├─ Need uncertainty, service levels, or inventory decisions?
    │   └─ Add quantiles, conformal intervals, or distributional forecasts
    │
    ├─ Long horizon or low-feature setup?
    │   ├─ Need strong zero-shot baseline -> TS foundation models
    │   └─ Need supervised optimization on many series -> global/deep forecasting
    │
    └─ Need production handoff?
        └─ Record cutoff timestamp, feature contract, fallback, lineage, and retraining trigger

Core Principles

1. Cutoff Timestamp Before Features

  • Define the exact prediction timestamp before building labels or features.
  • Every lag, rolling aggregate, calendar flag, and external signal must be justified relative to what is known at that cutoff.
  • Known-future covariates and future-unknown covariates must be treated differently.

2. Baselines First

  • Always compare against naive and seasonal-naive baselines.
  • Add ETS/SARIMAX or other local classical baselines when interpretability matters.
  • Candidate models do not earn deployment if they barely beat a simple baseline.

3. Horizon And Slice Evaluation

  • Report accuracy by horizon, not only a single global score.
  • Slice by segment, geography, SKU family, volume band, or any business-relevant cohort.
  • Prefer MASE/WAPE/MAE over MAPE when zeros or near-zeros exist.

4. Global/Panel Before Per-Series Complexity

  • When many related series exist, default to a shared global/panel approach before building separate bespoke models.
  • Use hierarchical reconciliation when forecasts must remain coherent across levels.
  • Promote complexity only when it earns accuracy, calibration, or operational simplicity.

5. Probabilistic When The Decision Is Risk-Sensitive

  • Use quantiles, conformal intervals, or full predictive distributions when downstream actions depend on uncertainty.
  • Evaluate both coverage and sharpness; wide intervals with nominal coverage are not automatically useful.
  • Reassess calibration after every retrain or major model change.

6. Forecasting-Specific Handoff

  • A forecast package is incomplete without cutoff timestamps, horizon definition, feature contract, metric definitions, fallback rules, and lineage metadata.
  • Keep forecasting-specific handoff guidance here; route full deployment architecture to ai-mlops.

Known Traps

  • Mixing future-known covariates and future-unknown covariates in the same feature path without documenting which values are actually available at forecast time.
  • Using one global backtest score to justify deployment when horizon-specific error behavior differs materially.
  • Using MAPE on zero-heavy, intermittent, or near-zero series and then comparing models on unstable percentages.
  • Building bespoke per-series models before testing a strong global or panel baseline on related series.
  • Ignoring hierarchy and coherence when downstream consumers expect rollups to add up.

Common Anti-Patterns

  • Reusing IID validation habits from generic tabular ML instead of rolling-origin or expanding-window evaluation.
  • Treating decomposition visuals as evidence of production signal without backtesting the actual decision horizon.
  • Using feature-rich models whose future covariates are unavailable or operationally too expensive to maintain.
  • Comparing TS foundation models to weak baselines and calling the result strategic proof.

Navigation: Core References

Data Integrity And Features

Model And Strategy Selection

Validation, Uncertainty, And Advanced Forecasting

Handoff And Forecast Operations

Templates

Data Preparation

Feature And Model Design

Evaluation And Uncertainty

Foundation Models

Scripts

ScriptPurpose
scripts/ts_evaluator.pyStdlib-only CLI: horizon-wise backtest metrics, probabilistic calibration check, and full Markdown evaluation report
bash
# Horizon-wise accuracy: MAE, RMSE, MAPE, skill score vs naive baseline
python scripts/ts_evaluator.py backtest --input data/sample-forecast-results.json

# Probabilistic calibration check for 50%, 80%, 90% prediction intervals
python scripts/ts_evaluator.py calibration --input data/sample-forecast-results.json

# Full Markdown evaluation report written to file
python scripts/ts_evaluator.py report --input data/sample-forecast-results.json --output /tmp/ts-eval-report.md

Data Files

FileDescription
data/sources.jsonCurated primary sources for classical forecasting, MLForecast, skforecast, AutoGluon, Chronos-2/Chronos-Bolt, TimesFM, Toto, fev-bench, and MAPIE
data/sample-forecast-results.jsonRealistic rolling-origin backtest results for a daily revenue forecast model across horizons 1, 7, 14, 30 days (48 rows, 12 backtest origins)

External Sources

See data/sources.json for current primary sources across:

  • classical forecasting references
  • official docs for MLForecast, HierarchicalForecast, skforecast, AutoGluon TimeSeries, LightGBM, and MAPIE
  • official Chronos-2/Chronos-Bolt, TimesFM, and Toto repositories
  • fev-bench benchmark and governance references used for high-impact deployments

Related Skills

  • ai-ml-data-science - General DS workflows, experiment design, and broader modelling patterns
  • ai-mlops - Deployment architecture, monitoring, and release operations
  • ai-llm - Provider/model lifecycle questions outside time-series forecasting
  • data-sql-optimization - Storage and query design for time-series marts

Fact-Checking

  • Known bugs, regressions, framework/compiler/runtime footguns, and version-specific crash or workaround guidance must be verified against current primary web sources before being treated as current fact.
  • Verify volatile external facts, package APIs, hosted options, and model capabilities before final answers.
  • Prefer official docs, official repositories, standards, or release notes.
  • If web access is unavailable, state that clearly and mark time-sensitive guidance as unverified.

Learnings Loop

Before applying this skill on a non-trivial task, read learnings.consolidated.md in this directory (and learnings.md if present).

After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Ai Ml Timeseries?

Zäitserieprognosen mat temporaler Validatioun, Panelmodeller, probabilistesche Prognosen an TS-Foundation-Modeller. Benotzt dëse Skill, wann Dir geuerdent Observatioune modelléiert.

Firwat Ai Ml Timeseries op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Ai Ml Timeseries besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Ai Ml Timeseries an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/ai-ml-timeseries an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Ai Ml Timeseries benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Ai Ml Timeseries benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Ai Ml Timeseries domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Ai Ml Timeseries gratis?

Jo. vasilyu1983 huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇