Learn R Programming

fclust (version 1.0.1)

FKM.gk: Gustafson and Kessel - like fuzzy k-means

Description

Performs the Gustafson and Kessel - like fuzzy k-means clustering algorithm.

Usage

FKM.gk (X, k, m, vp, RS, stand, startU, conv, maxit)

Arguments

X
Matrix or data.frame
k
Number of clusters (default: 2)
m
Parameter of fuzziness (default: 2)
vp
Volume parameter (default: rep(1,k))
RS
Number of (random) starts (default: 1)
stand
Standardization: if stand=1, the clustering algorithm is run using standardized data (default: no standardization)
startU
Rational starting point for the membership degree matrix U (default: no rational start)
conv
Convergence criterion (default: 1e-9)
maxit
Maximum number of iterations (default: 1e+6)

Value

  • Object of class fclust, which is a list with the following components:
  • UMembership degree matrix
  • HPrototype matrix
  • FArray containing the covariance matrices of all the clusters
  • clusMatrix containing the indices of the clusters where the objects are assigned (column 1) and the associated membership degrees (column 2)
  • medoidVector containing the indices of the medoid objects (NULL for FKM.gk)
  • valueVector containing the loss function values for the RS starts
  • cputVector containing the computational times (user times) for the RS starts
  • iterVector containing the numbers of iterations for the RS starts
  • kNumber of clusters
  • mParameter of fuzziness
  • entDegree of fuzzy entropy (NULL for FKM.gk)
  • vpVolume parameter
  • deltaNoise distance (NULL for FKM.gk)
  • standStandardization (Yes if stand=1, No if stand=0)
  • XcaData used in the clustering algorithm (standardized data if stand=1)
  • XRaw data
  • callMatched call

References

Gustafson E.E., Kessel W.C., 1978. Fuzzy clustering with a fuzzy covariance matrix. Proceedings of the IEEE Conference on Decision and Control, pp. 761-766.

See Also

Fclust, Fclust.index

Examples

Run this code
data(unemployment)
## It may take more than a few seconds
clust=FKM.gk(unemployment,k=3,RS=10)

Run the code above in your browser using DataLab