Skip to content

Calculate silhouette coefficient

Evelina Ignatova edited this page Sep 8, 2024 · 1 revision
  • averageSilhouetteCoefficient(String nodeSet, String numberOfCentroid, String numberOfInteration, String distanceMeasure)

nodeSet :

used as condition for calculation

numberOfCentroid :

the number of desired clusters

numberOfInteration :

the number of optimal iterations (usually 100)

distanceMeasure :

  • "euclidean"
  • "manhattan"
  • "cosine"
  • "bray_curtis"

In the procedure mapped data from mapNodes procedure mapNodeList is used to perform averageSilhouetteCoefficient calculations.

Clone this wiki locally