get_init_z {outlierMBC} | R Documentation |
Obtain an initial clustering as a component assignment matrix.
Description
Implement the specified initial clustering, either hierarchical clustering or k-means++, and return a binary component assignment matrix.
Usage
get_init_z(
comp_num,
dist_mat = NULL,
x = NULL,
init_method = c("hc", "kmpp"),
kmpp_seed = NULL
)
Arguments
comp_num |
Number of mixture components. |
dist_mat |
Euclidean distance matrix. |
x |
Data. |
init_method |
Method used to initialise each mixture model. |
kmpp_seed |
Optional seed for k-means++ initialisation. |
Value
A component assignment matrix for initialisation.
[Package outlierMBC version 0.0.1 Index]