View source: R/initial_values.R
init_equal | R Documentation |
Initialize mu, pi, and zeta by equal assignment
Initialize mu, pi, and zeta by k-means guess
init_equal(data, user_K, seed)
init_kmeans(data, user_K, seed)
data |
from the object |
user_K |
number of clusters to presume |
seed |
seed for initial randomization |
A N by K matrix. Each row sums to 1.
A K by D by (L + 1) array. Each mu[k, j, ]
sums to 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.