Function Index
ClusterMetric
ClusterMetric[{
list
1
,
list
2
,
...
}]
returns a global scalar measure of the clusters given by lists
list
1
,
list
2
, ....
The default option
DistanceFunction
→
EuclideanDistance
selects the Euclidean measure of distance between points. Other common distance functions include
ManhattanDistance
,
ChebyshevDistance
,
CanberraDistance
, and
MinkowskiDistance
.
See also User's Guide
7.5
and the tutorial
Partitioning Data into Clusters
.
Modified in Version 2.2.
Example
This loads the package.
In[1]:=
This defines three centroids.
In[2]:=
This generates some cluster data.
In[3]:=
This returns two different scalar measures of the data distribution.
In[5]:=
Out[5]=
© 2009 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: