change-point-detection

Detect change-points in financial time-series using Gaussian Process CPD.

Updated Nov 14, 2025
One-click install
npx skills add https://github.com/Donaldshen27/xtrend-vanilla --skill change-point-detection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: change-point-detection
Source: https://github.com/Donaldshen27/xtrend-vanilla/tree/main/.claude/skills/change-point-detection
Command: npx skills add https://github.com/Donaldshen27/xtrend-vanilla --skill change-point-detection

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Gaussian Process Change-Point Detection (GP-CPD) enables segmentation of financial time-series into regimes by identifying change-points where statistical properties shift, supporting regime identification and improved decision-making.

Core Features & Use Cases

  • Gaussian Process change-point detection that compares a Matérn GP with a CP kernel to reveal regime shifts.
  • Regime segmentation using lookback windows and min/max length constraints to produce meaningful market states.
  • Context-set construction for few-shot learning and adaptive trading strategies based on detected regimes.
  • Use cases include momentum crash detection, adaptive strategy selection, and volatility regime analysis.

Quick Start

Run GP-CPD on a time-series to identify change-points and generate regime segments for modeling.

Frequently Asked Questions about change-point-detection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is Gaussian Process change-point detection in financial time-series?

Gaussian Process change-point detection identifies statistical property shifts in financial time-series to segment market regimes. It compares a Matérn 3/2 GP with a change-point kernel using marginal-likelihood to reveal distinct market states.

How do I detect market regime transitions in financial time-series data?

To detect market regime transitions, apply GP-CPD using lookback windows and min/max length constraints. This threshold-based segmentation workflow processes financial time-series to isolate meaningful market states and momentum crash detection points.

Can I use GP-CPD to construct context sets for few-shot learning?

Yes, GP-CPD constructs context sets for few-shot learning by segmenting financial time-series into detected regimes. These identified market states support adaptive trading strategies and regime-based model training.

Does Gaussian Process change-point detection require a Matérn 3/2 kernel?

Yes, Gaussian Process change-point detection requires a Matérn 3/2 kernel. It compares this Matérn GP against a change-point kernel using marginal-likelihood evaluations to accurately identify regime shifts in financial time-series.

What are the limitations of using marginal-likelihood comparisons for regime segmentation?

Marginal-likelihood comparisons for regime segmentation require careful threshold configuration and min/max length constraints. Without properly tuned lookback windows, detected change-points may produce unstable or overlapping market regime segments.