Dashboard
① Clustering Configuration
Number of Clusters (K)
3
patient subgroups to discover
Patient Cohort Size (N)
80
total patients in dataset
▶ Animate
Step
⟳ Resample
② Algorithm Formula
Assign: c(x)=argminₖ‖x−μₖ‖²
Update: μₖ=(1/|Cₖ|)Σxᵢ
WCSS=Σₖ Σᵢ∈Cₖ ‖xᵢ−μₖ‖²
Iter:
0
x-axis:
Fasting Glucose (mg/dL)
y-axis:
BMI (kg/m²)
✦ = centroid · colour = cluster
③ Cluster Metrics
Within-Cluster Sum of Squares
—
—
Status
—
Iterations
—
Avg Cluster Size
—
K Used
④ Patient Scatter — colour=cluster · ✦=centroid · Voronoi background=decision regions · watch centroids migrate on Animate
⑤ Elbow Curve — WCSS vs K · highlighted = current K · optimal at elbow bend