calcCentroids: Calculate the centroids

View source: R/RcppExports.R

calcCentroidsR Documentation

Calculate the centroids

Description

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

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

Value

A a matrix with the centers calculated for each cluster


JeremyGelb/geocmeans documentation built on Nov. 20, 2024, 2:50 p.m.