Skip to main content

%DeepSee.extensions.clusters.ASW

Class %DeepSee.extensions.clusters.ASW Extends %RegisteredObject [ System = 4 ]

This class calculates Average Silhouette Width index. The technique provides a succinct graphical representation of how well each object lies within its cluster. See Wikipedia article for more information. Validity indices are used in Cluster Validation and determination of the optimal number of clusters.

Properties

Model

Property Model As AbstractModel;

SubsetKey

Property SubsetKey As %Integer;

Methods

calculateForSample

Method calculateForSample(SampleSize As %Integer, Output sc As %Status) As %Double

calculate

Method calculate(Output sc As %Status) As %Double

s

Method s(i As %Integer, Output s As %Double, Output neigbour As %Integer) As %Status

ab

Method ab(i As %Integer, Output a As %Double, Output b As %Double, Output neigbour As %Integer) As %Status