calcSilhouetteIdx: Fuzzy Silhouette index

View source: R/clustering_evaluation.R

calcSilhouetteIdxR Documentation

Fuzzy Silhouette index

Description

Calculate the Silhouette index of clustering quality.

Usage

calcSilhouetteIdx(data, belongings)

Arguments

data

The original dataframe used for the clustering (n*p)

belongings

A membership matrix (n*k)

Details

The index is calculated with the function SIL.F from the package fclust. When the dataset is too large, an approach by subsampling is used to avoid crash.

Value

A float, the fuzzy Silhouette index


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