KMeansTData, TDataSumEvaluateDaviesBouldinIndex(FuncTDataSum, TDataSum, Double, Int32) Method |
Evaluates the Davies-Bouldin-Index. The exponent q (used to calculate the average distance of the cluster points to their centroid) can be set as parameter.
Namespace: Altaxo.Calc.ClusteringAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public double EvaluateDaviesBouldinIndex(
Func<TDataSum, TDataSum, double> distanceFunctionOfClusterMeans,
int q
)
Parameters
- distanceFunctionOfClusterMeans FuncTDataSum, TDataSum, Double
- Function to calculate the Euclidean distance between two cluster centroids.
- q Int32
- Order of the moment to calculate the average distance of the cluster points to their centroid. A value of one results in
calculating the average (Euclidean) distance, a value of 2 results in the square root of the mean squared distances, etc.
Return Value
DoubleThe Davies-Bouldin-Index using the exponent q (p is implicitely 2 if
distanceFunctionOfClusterMeans returns the Euclidean distance between the cluster centroids).
See Also