Last chance! 50% off unlimited learning
Sale ends in
Produces a summary of the membership degree information in the hard clustering sense (objects are considered to be assigned to clusters only if the corresponding membership degree are >=0.5).
cl.memb.H (U)
Matrix containing the indexes of the clusters where the objects are assigned (row 1) and the associated membership degrees (row 2)
Membership degree matrix
Paolo Giordani, Maria Brigida Ferraro, Alessio Serafini
An object is assigned to a cluster according to the maximal membership degree provided that such a maximal membership degree is >=0.5, otherwise it is assumed that an object is not assigned to any cluster (denoted by cluster index = 0 in row 1).
cl.memb
, cl.memb.t
n=20
k=3
## randomly generated membership degree matrix
U=matrix(runif(n*k,0,1), nrow=n, ncol=k)
U=U/apply(U,1,sum)
info.U=cl.memb.H(U)
## objects assigned to clusters in the hard clustering sense
rownames(info.U[info.U[,1]!=0,])
Run the code above in your browser using DataLab