calcSWFCCentroids: Calculate the centroids of SFCM

View source: R/RcppExports.R

calcSWFCCentroidsR Documentation

Calculate the centroids of SFCM

Description

Calculate the new centroids of the clusters based on the membership matrix for SFCM

Usage

calcSWFCCentroids(data, wdata, belongmatrix, m, alpha)

Arguments

data

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

wdata

A matrix representing the lagged observed data with nrows and p columns

belongmatrix

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

m

An integer representing the fuzziness degree

alpha

A float representing the weight of the space in the analysis (0 is a typical fuzzy-c-mean algorithm, 1 is balanced between the two dimensions, 2 is twice the weight for space)

Value

A n X k matrix representing the belonging probabilities of each observation to each cluster


geocmeans documentation built on Sept. 12, 2023, 9:06 a.m.