Click or drag to resize

CentroidLinkageTInstance Constructor

Namespace:  Aglomera.Linkage
Assembly:  Aglomera (in Aglomera.dll) Version: 1.1.0
Syntax
C#
public CentroidLinkage(
	IDissimilarityMetric<TInstance> metric,
	Func<Cluster<TInstance>, TInstance> centroidFunc
)
Request Example View Source

Parameters

metric
Type: AglomeraIDissimilarityMetricTInstance
The metric used to calculate dissimilarity between cluster elements.
centroidFunc
Type: SystemFuncClusterTInstance, TInstance
A function to get an element representing the centroid of a ClusterTInstance.
See Also