skforecast/skforecast-ai/drift-detection
- community
Checking that the SKILL.md file is still in the repository.
Detects data drift in time series forecasting pipelines using RangeDriftDetector and PopulationDriftDetector. Covers range-based out-of-range detection and statistical distribution tests. Use when the user wants to monitor model reliability in production.
Install
npx vskill@latest install skforecast/skforecast-ai/drift-detectionSKILL.md
The same SKILL.md was published earlier as skforecast/skforecast/drift-detection.
Drift Detection
When to Use
Use drift detection to monitor whether new data falls outside the patterns seen during training. This helps decide when to retrain a model.
| Detector | Speed | Use Case | |
|---|---|---|---|
RangeDriftDetector | Very fast | Real-time inference — checks if values are in training range | |
PopulationDriftDetector | Moderate | Batch monitoring — statistical tests for distribution shifts |
Related skills
- Prerequisite:
forecasting-single-series/forecasting-multiple-series(the detector is fitted on the training data of an existing forecaster) - Prerequisite:
prediction-intervals(intervals quantify uncertainty under the training distribution; drift detection flags when that distribution changes)
RangeDriftDetector
Checks whether new observations fall within the ranges seen during training. Lightweight and suitable for real-time scoring.
fit()acceptsseriesandexogas a pandas Series, DataFrame, or dict(useful for multi-series pipelines withForecasterRecursiveMultiSeries).
PopulationDriftDetector
Uses statistical tests to detect distribution shifts between reference (training) and new data.
fit(X)andpredict(X)expect a pandas DataFrame. For multi-series data,use a MultiIndex DataFrame with(series_id, date)index.
Chunk Size Options
Threshold Methods
Integration with Forecasting Pipeline
Common Mistakes
- Fitting detector on test data: Always fit on training data — the reference distribution.
- Ignoring drift signals: Drift doesn't mean the model is wrong, but it signals degradation risk.
- Over-sensitive thresholds: Start with
threshold=3(3 sigma) and adjust based on false positive rate.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskforecast_ai/skills/drift-detection/SKILL.md
Popularity
- Repository stars
- 50
- Repository forks
- 6
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/skforecast/skforecast-ai/drift-detection)