Description Usage Arguments Details Value
View source: R/gustafsonKessel.R
This function used to perform Gustafson Kessel Clustering of X dataset.
1 | fuzzy.GK(X, K, m, max.iteration, threshold, RandomNumber)
|
X |
data frame n x p |
K |
specific number of cluster (must be >1) |
m |
fuzzifier / degree of fuzziness |
max.iteration |
maximum iteration to convergence |
threshold |
threshold of convergence |
RandomNumber |
specific seed |
This function perform Fuzzy C-Means algorithm by Gustafson Kessel (1968). Gustafson Kessel (GK) is one of fuzzy clustering methods to clustering dataset become K cluster. Number of cluster (K) must be greater than 1. To control the overlaping or fuzziness of clustering, parameter m must be specified. Maximum iteration and threshold is specific number for convergencing the cluster. Random Number is number that will be used for seeding to firstly generate fuzzy membership matrix.
Clustering will produce fuzzy membership matrix (U) and fuzzy cluster centroid (V). The greatest value of membership on data point will determine cluster label. Centroid or cluster center can be use to interpret the cluster. Both membership and centroid produced by calculating mathematical distance. Fuzzy C-Means calculate distance with Covariance Cluster norm distance. So it can be said that cluster will have both sperichal and elipsodial shape of geometry.
func.obj objective function that calculated.
U matrix n x K consist fuzzy membership matrix
V matrix K x p consist fuzzy centroid
D matrix n x K consist distance of data to centroid that calculated
Clust.desc cluster description (dataset with additional column of cluster label)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.