DM_getQuality

This function returns the quality of attributing the record to the best cluster whose ID is given by the function DM_getClusterID. It measures how well the applied record fits into the best cluster.

The returned value is between 0.0 and 1.0. A value close to 0.0 means that the record does not fit at all in the best cluster. A value close to 1.0 means that the record fits very well in the best cluster. The quality measurement depends on the algorithm used to score the record, so that a direct comparison between the quality of algorithm results is not possible. However, both center-based and distribution-based algorithms use a linear, possibly similar, quality measurement function.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-DM_getQuality--(--results value--)--------------------------><

Parameters

results value
The result of applying a Clustering model, returned by the function DM_applyClusModel as data type DM_ClusResult

Return value



Feedback | Information roadmap