Functional Data Clustering (B-Spline Coefficients, L2 k-Means)
Functional data clustering groups whole curves by shape and level. Each curve is smoothed on a B-spline basis, the coefficients are transformed so that ordinary distances equal the integrated squared difference between curves, and k-means then finds groups of similar curves, with the number of groups chosen by the average silhouette.
함수 자료 군집분석은 곡선 전체를 모양과 수준에 따라 묶습니다. 각 곡선을 B-스플라인 기저로 평활하고, 보통의 거리가 곡선 간 적분 제곱 차이와 같아지도록 계수를 변환한 뒤 k-평균으로 비슷한 곡선의 무리를 찾으며 무리 수는 평균 실루엣으로 정합니다.
Which units follow similar trajectories over time, and how many distinct curve patterns are there?
어떤 개체들이 시간에 따라 비슷한 궤적을 보이며, 서로 다른 곡선 유형은 몇 가지입니까?
The method returns the number of clusters, cluster sizes and mean-curve summaries, the average silhouette, the Calinski-Harabasz index, the share of variation between clusters and each unit's cluster.
When to use Functional Data Clustering (B-Spline Coefficients, L2 k-Means)
- Each unit is observed as a curve over time or another continuous argument.
- Curves may be observed at different time points.
- You want groups of similar trajectories rather than a model of one outcome.
When to use something else
- Units are described by a few numbers rather than curves: use K-Means Clustering
- Trajectories should be modelled with covariates and group membership probabilities: use Growth Mixture Model
Assumptions and requirements
- Curves are well represented by the spline basis
- Clusters differ in L2 distance
- Enough observations per curve to fit the basis
What the analysis reports
- Number of clusters and sizes
- Mean-curve summaries
- Silhouette and Calinski-Harabasz index
- Cluster of each unit
How to report it
The curves formed [value] clusters of sizes [value] with an average silhouette of [value].
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy at a stated tolerance of 1e-8.
독립 계산. SciPy 대조 참조 시험 1건 통과(허용오차 1e-8).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Functional Data Clustering (B-Spline Coefficients, L2 k-Means) on Quorant
- Data you need
- a table (CSV or Excel) with a unit (entity) ID, a time variable and an outcome variable
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.