Clustering
Clustering
House
Observation Male Single Car Loan
Loan
0 1 0 1
1
1 0 0 1
2
1 0 1 0
3
1 1 0 1
4
1 1 0 0
5
The similarity between observation 2 and 3 (S23) using Matching Coefficient Method is:
0.25
0.75
0.50
Consider the following set of sales transactions that were recorded in a grocery store:
Sales_ID Items in the Basket
S1 ITEM 1, ITEM 2, ITEM 3, ITEM 4, ITEM 5, ITEM 6
S2 ITEM 1, ITEM 2, ITEM 3, ITEM 4, ITEM5
S3 ITEM1, ITEM 3, ITEM 6
S4 ITEM 2, ITEM 5, ITEM 6
S5 ITEM 2, ITEM 3, ITEM, 4
S6 ITEM 3, ITEM 4, ITEM 5, ITEM 6
S7 ITEM 2 , ITEM 4, ITEM 6
S8 ITEM 1, ITEM 3, ITEM 5
The support for association rule ITEM 5 => ITEM 1 is:
0.250
0.500
0.125
0.375
Given two observations (2, 6) and (8, 9). The Euclidean Distance between these two
observations will be:
6.719
3.542
8.263
6.708
Given two observations (5.37, 3.22) and (1.89, 0.96). The Manhattan Distance between these two
observations will be:
5.82
6.32
5.74
5.35