I have run the k-modes algorithm on my nominal data set, which I converted to a dummy matrix (binary). As for K-Means, one can perform the elbow method by looking at the elbow method using, according to Wikipedia, the Percentage of variance explained is the ratio of the between-group variance to the total variance, also known as an F-test source.
How would one compute the
between-group variance ratio or simply the
SS(W) for a nominal/binary data set? Are there available approaches?
Thanks for any help and insights!
PS: I have already performed the silhouette score using jaccard index or dice from the using scipy library and would like to compute the elbow method as well.