Learn R Programming

pmclust (version 0.1-2)

initial.center.spmd: Initialization for K-means Algorithm

Description

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

Usage

initial.center.spmd(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.spmd.

Examples

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

Run the code above in your browser using DataLab