



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




















1
class
labeling,
are
available.
The
goal
becomes:
Group
the
data
into
a
number
of
sensible
clusters
(groups).
This unravels similarities and differences among
the available data.^
Applications:
To
perform
clustering
of
a
data
set,
a
clustering
criterion must first be adopted.
Different clustering
criteria lead, in general, to different clusters.
2
A simple example
Blue shark,sheep, cat,
dog
Lizard, sparrow, viper, seagull, gold
fish, frog, red
mullet
How mammals beartheir progeny
Gold fish, redmullet, blue
shark
Sheep, sparrow,dog, cat, seagull,lizard, frog, viper
Existence of lungs
4
Depending on the similarity measure, the clusteringcriterion and the clustering algorithm different clustersmay result.
Subjectivity
is a reality to live with from
now on.
A simple example:
How many clusters??
2 or 4 ??
5
Data reduction. All data vectors within a cluster aresubstituted (represented) by the corresponding clusterrepresentative.
Hypothesis generation.
Hypothesis testing.
Prediction based on groups.
7
Fuzzy clustering:
Each point belongs to all clusters up
to some degree.A fuzzy clustering of
X
into
clusters is characterized
by
functions
m
j
x
u
j^
m j
i j^
1
N i
i j^
m j N x u 1
,..., (^2) , 1
8
.
cluster to
of
membership
of
grade
high
1 to
close )
(
j
x
x
u
i
i
j^
i
j^
m
j
x
u
i
j^
,..., (^2) , 1
),
(
These are known as membership functions.Thus, each
i^
belongs to any cluster “up to
some degree”, depending on the value of
10
X y x y x d d d
,
,
) , (
:^
0
0
X x d x x d
,
) , (^
0
Between vectors
(between vectors of
) is a
function
with the following properties• • •
X
X
d
:
docsity.com
11
(triangular inequality)
is called a metric dissimilarity measure.
y
x
if
only
and if
d
y x d
0
) , (
X z y x z y d y x d z x d
, ,
), , ( ) , ( ) , (
13
is called a metric similarity measure.
Between setsLet
i^
X, i=
,…,k
and
}k
A proximity measure
on
is a function
A dissimilarity measure has to satisfy the relations ofdissimilarity measure between vectors, where
’ i
s are used ‘
in place of
x
y (similarly for similarity measures).
0
14
PROXIMITY MEASURES BETWEEN VECTORS^
Dissimilarity measures (DMs)•
Weighted
p
metric DMs
Interesting instances are obtained for
=
(
weighted Manhattan norm)
=
(
weighted Euclidean norm)
∞
(
)=
1
i
l^
)
l i
p
p i
i
i
p^
1
/ 1
16
Similarity measures
Inner product
Tanimoto measure
l i
i i
T
inner
1
y x
y
x
y x
y x
s
T
T
T
2
2
||
||
||
||
) , (
||
||
||
||
) , ( 1 ) ,
(^
2
y
x
y x
d
y x
sT
17
Let
F=
{
,^1
,…,k
-1}
be a set of symbols and
X
={
x^1
,…,x
}N
F
l
Let
A
(x,y
)=[
a ]ij
, i, j
=
,^1
,…,k
, where
a
ij^
is the number of places where
x^
has the
i
-th symbol and
y
has the
j
-th symbol.
NOTE:Several proximity measures can be expressed as combinations of theelements of
A(x,y)
.
Dissimilarity measures:
x
and
y
differ)
l
1
distance
(^10)
1 0
k i
k j
ij^
l
a
(^10)
1 0
) , (
k i
k
i j j
ij
H
a
y x
d
l i
i
i^
1
1
19
x
are real and the rest are
discrete.Methods for measuring the proximity between two such
x
i and
x
:j
Adopt a proximity measure (PM) suitable for real-valued vectors.
Convert the real-valued features to discrete ones and employ adiscrete PM. The more general case of mixed-valued vectors:
Here nominal, ordinal, interval-scaled, ratio-scaled features aretreated separately.
20
The similarity function between
x
i^ and
x
j^ is:
In the above definition:^ •
w
=0q
, if at least one of the
q
-th coordinates of
x
i^ and
x
j^ are
undefined or both the
q
-th coordinates are equal to
0
.
Otherwise
w
=1q
.
q
-th coordinates are binary,
s
(q
x^ i
,x
)=1j
if
x
x^ jq
=
and
0
otherwise.
q
-th coordinates are nominal or ordinal,
s
(q
x^ i
,x
)=1j
if
x
iq
=
x^ jq
and
0
otherwise
.
q
-th coordinates are interval or ratio scaled-valued
where
r
q^
is the interval where the
q
-th coordinates of the
vectors of the data set
X
lie.
, / | | 1 ) ,
(^
q
jq
iq
j
i
q^
r x x x x s
l q
q
l q
j i q
j i^
w x x s x x
s^
1
1
/ ) , ( ) , (