.16
Manhattan P1 P2 P3
P1 0 3 1
P2 3 0 4
P3 1 4 0
Jarak Chebyshev
Dinyatakan dengan persamaan:
Contoh
Point x y
P1 1 1
P2 4 1
P3 1 2
Chebyshev P1 P2 P3
P1 0 3 1
P2 3 0 3
P3 1 3 0
Simple Matching (SMC) & Jaccard Coefficients (J)
Jawab:
M01 = 2
M10 = 1
M00 = 7
M11 = 0
Cosine Similarity
Jawab:
d1 ● d2 = (3*1)+(2*0)+(0*0)+(5*0)+(0*0)+(0*0)+(0*0)+(2*1)
+(0*0)+(0*2) = 5
=
=
Maka,
Extended Jaccard Coefficient (Tanimoto)
d2 = 1 0 0 0 0 0 0 1 0 2
Jawab:
T(d1, d2) =
Correlation
Digunakan untuk mengukur hubungan objek
secara linier
Persamaan yang digunakan:
Nilai
korelasi berkisar antara -1 sampai
dengan 1
Contoh
Hitung korelasi antara dua objek berikut:
X=(-3, 6, 0, 3, -6) dan Y=(1, -2, 0, -1, 2)
Jawab: