run_silhouette: Run Silhouette

View source: R/validate.R

run_silhouetteR Documentation

Run Silhouette

Description

This function calculates the average silhouette width of the clustering assignments made on the data sets provided. Uses the clusterCrit package implementation.

Usage

run_silhouette(dataList, method = "kmeans", reductionType = "pca")

Arguments

dataList

a data list of the data with clustering assignments

method

The clustering method used, defaults to Kmeans

reductionType

The dimensionality reduction type of the data to find the calculated scores, defaults to PCA

Value

A table of the Silhouette Scores, with the data set name and the score


NWhitener/benchmarking documentation built on Oct. 23, 2023, 12:20 a.m.