ClusterDistance

Analysis Services Programming

Analysis Services Programming

ClusterDistance

The ClusterDistance function returns the distance between the input case and the center of the cluster that has the highest probability.

Syntax

ClusterDistance([<ClusterID expression>])

Applies to

This function can be used only when the underlying data mining model supports clustering.

Return Type

Scalar value

Remarks

If <ClusterID expression> is specified, the cluster is identified by the evaluation of the expression.

See Also

Cluster

ClusterProbability