Input
ExecutionExecution trigger that begins the silhouette evaluation
AI/ML/Metrics
Evaluate clustering quality: how much closer each sample sits to its own cluster than to the nearest other one (-1 to +1)
Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.
Execution trigger that begins the silhouette evaluation
Database connection containing the feature vectors and their cluster assignments
Column holding the feature vectors the clustering was computed on. Distances are euclidean, so scale the features first if their ranges differ.
Column holding the cluster assignment of each sample, as a string name or a non-negative integer id
Upper bound on the samples used. The metric compares every sample with every other one, so the cost grows quadratically; larger sets are sub-sampled evenly.
Activated once the silhouette evaluation completes
Mean silhouette score across all evaluated samples (-1 to +1, higher is better)
Number of samples the score was computed on after sub-sampling
Number of distinct clusters found in the cluster column