Group participants’ free-text answers to one question into labeled themes using k-means. The result is saved and becomes the study’s latest clustering run.
str
The question to cluster.
int
Alternative to question_id, for linear studies.
int
default:"3"
Number of clusters, from 2 to 20. Too few responses for the requested count raises ValidationError.
Estimate the best cluster count for a question using the elbow method. Returns optimal_k, plus the k_values and inertias it was chosen from if you want to plot the curve.ReturnsOptimalClustersOut.