Skip to main content
. 2024 Dec 9;10:e2550. doi: 10.7717/peerj-cs.2550
Algorithm 4: Fuzzy C-Means clustering
Input:x1xl—objects, K—number of clusters , m—the degree of cluster fuzziness
Output: wki=wkxii=1,k=1l,K—coefficient sets with the degree of xi belonging to the k-th cluster
Each object x is randomly assigned a cluster membership coefficient wk(x), k =1 ..K
while wt+1wt2ɛorCt+1Ct2ɛ do
              ck=xwkmxx/xwkmx
       wkx=cCxckxc2m11
return{wki}