Learn R Programming

geocmeans (version 0.3.4)

calcCentroids: Calculate the centroids

Description

Calculate the new centroids of the clusters based on the membership matrix for a classical FCM.

Value

A a matrix with the centers calculated for each cluster

Arguments

data

A Numeric matrix representing the observed data with n rows and p columns

belongmatrix

A n X k matrix giving for each observation n, its probability to belong to the cluster k

m

A float representing the fuzziness degree