Learn R Programming

pmclust (version 0.1-1)

initial.center.worker: Initialization for K-means algorithm

Description

This function implements simple initialization for K-means algorithm by randomly picking samples from data based on X.worker.

Usage

initial.center.worker(PARAM, MU = NULL)

Arguments

PARAM
an original set of parameters generated by set.global.
MU
a center matrix with dim = $p \times K$.

Value

  • An initial set of parameters PARAM will be returned.

Details

If MU is given, then the center will be assigned according.

References

High Performance Statistical Computing Website: http://thirteen-01.stat.iastate.edu/snoweye/hpsc/

See Also

set.global, initial.RndEM.worker.

Examples

Run this code
# Examples can be found in the help page of kmeans.step.worker().

Run the code above in your browser using DataLab