MPC {fclust} | R Documentation |
Modified partition coefficient
Description
Produces the modified partition coefficient index. The optimal number of clusters k is such that the index takes the maximum value.
Usage
MPC (U)
Arguments
U |
Membership degree matrix |
Value
mpc |
Value of the modified partition coefficient index |
Author(s)
Paolo Giordani, Maria Brigida Ferraro, Alessio Serafini
References
Dave' R.N., 1996. Validating fuzzy partitions obtained through c-shells clustering. Pattern Recognition Letters, 17, 613-623.
See Also
PC
, PE
, SIL
, SIL.F
, XB
, Fclust
, Mc
Examples
## McDonald's data
data(Mc)
names(Mc)
## data normalization by dividing the nutrition facts by the Serving Size (column 1)
for (j in 2:(ncol(Mc)-1))
Mc[,j]=Mc[,j]/Mc[,1]
## removing the column Serving Size
Mc=Mc[,-1]
## fuzzy k-means
## (excluded the factor column Type (last column))
clust=FKM(Mc[,1:(ncol(Mc)-1)],k=6,m=1.5,stand=1)
## modified partition coefficient
mpc=MPC(clust$U)
[Package fclust version 2.1.1.1 Index]