tsseg.algorithms.icid package
iCID — Isolation Distributional Kernel Change Interval Detection.
Description
iCID detects change intervals by projecting the time series into a high-dimensional distributional feature space (aNNEspace) and measuring cosine-distance dissimilarity between consecutive sliding windows. A z-score-based threshold \(\alpha\) determines whether a dissimilarity peak constitutes a true change.
The method is non-parametric, does not assume Gaussianity, and automatically
selects the granularity through a list of psi (sub-sample) values.
Parameters
Name |
Type |
Default |
Description |
|---|---|---|---|
|
int |
|
Sliding window size for computing dissimilarity. |
|
float |
|
Sensitivity factor (higher = less sensitive). |
|
int |
|
Iterations for aNNEspace transformation. |
|
list[int] / None |
|
Sub-sample sizes controlling granularity. |
|
int |
|
Time axis. |
Usage
from tsseg.algorithms import ICIDDetector
detector = ICIDDetector(window_size=100, alpha=0.3)
labels = detector.fit_predict(X)
Implementation: Origin: new code.
Reference: Cao, Ting, Liu, Cek & Angelova (2024), A new framework for change interval detection, JAIR.