Description Usage Arguments Value
findK will loop through a range of Ks and will plot the cost
1 | findK(X, nstart = 25, iter.max = 10, n_K = 15)
|
X |
A matrix where each column is a vectorized image |
nstart |
passed to |
iter.max |
passed to |
n_K |
max number of clusters |
Plots K versus cost.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.