k-Shape time series clustering
Groups series by the shape of their movement, ignoring shifts in time and differences in level or scale.
k-Shape 시계열 군집 — 시점이 밀리거나 수준·규모가 달라도 이를 무시하고 움직임의 모양으로 시계열을 묶습니다.
Runs Time Series Clustering (DTW K-Means) with: metric set to “kshape”.
기본 방법(Time Series Clustering (DTW K-Means))에 다음 설정을 고정해 실행합니다: metric = kshape.
Which daily electricity-use profiles share the same shape regardless of when the peaks occur or how large they are?
피크 시각이나 크기와 관계없이 같은 모양을 가진 일별 전력 사용 곡선은 어느 것인가요?
Series are z-normalised and compared by the shape-based distance, the best normalised cross-correlation over all time shifts, and k-Shape alternates shape extraction and reassignment, with k chosen by silhouette unless you fix it. Behind it is Time Series Clustering (DTW K-Means) with metric = kshape already set; checks and report are the same as for Time Series Clustering (DTW K-Means).
When to use k-Shape time series clustering
- Series may be shifted in time relative to each other.
- Differences in level and scale are not what you want to group on.
When to use something else
- Absolute level matters, as with high versus low users; z-normalisation removes it.
- You want to try other settings side by side; open Time Series Clustering (DTW K-Means) and set the options yourself.
What you still provide
- Data: a table (CSV or Excel) with an outcome variable, a unit (entity) ID and a time variable.
Assumptions and requirements
The same as for Time Series Clustering (DTW K-Means):
- Each unit has a value at every time point (incomplete units are dropped).
- A Sakoe-Chiba band (default 10% of length) limits how far points can be aligned.
- With z-normalisation, clusters reflect shape rather than level.
What the analysis reports
The output of Time Series Clustering (DTW K-Means), with the preset shown in the settings:
- Chosen k with silhouette by k (2 to 8) on DTW distances
- Cluster sizes, mean DTW distance to centroid and example units
- DBA centroid plot per cluster
- Inertia (sum of squared DTW distances)
- Caps: 500 units, length 100 (longer series reduced by piecewise aggregate averaging); k is scanned and silhouette computed on a sample of 150 units
How this is validated
검증 근거
This variant runs the same engine as Time Series Clustering (DTW K-Means) with the settings above fixed, so the evidence is that method’s: automated run tests; no external reference comparison yet. No separate checks of this preset are claimed. Read the base method’s validation record.
이 설정 묶음은 Time Series Clustering (DTW K-Means)와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of Time Series Clustering (DTW K-Means)
Run this variant
- Data you need
- a table (CSV or Excel) with an outcome variable, a unit (entity) ID and a time variable
- Price
- Same as Time Series Clustering (DTW K-Means): 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Automated run tests; no external reference comparison yet, as recorded for Time Series Clustering (DTW K-Means) (see its checks)
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.