Page 1 of 1

Question 03(a) Consider Table 2, it hold five different columns and having ten records; you have to pick two columns (An

Posted: Sun Oct 03, 2021 3:41 pm
by answerhappygod
Question
03(a)
Consider Table 2, it hold five
different columns and having ten records; you have to pick two
columns (Annual Income, Annual Expenses). Initial cluster centers
would be : P1(14,12) , P2(11,6), & P3(11,10).
Use the K-Means algorithm and plot
the Dendrogram to visualize it. You may stop the clustering process
if it found that two iterations have the same clusters, otherwise,
at least 3 iterations are required.
S. No.
Marital Status
Age
Annual Income in (k$)
Annual Expenses in (k$)
1
Single
30
12
10
2
Married
29
14
12
3
Single
27
13
11
4
Married
30
16
11
5
Married
29
12
10
6
Single
25
9
8
7
Married
25
11
6
8
Married
29
11
10
9
Single
25
12
10
10
Single
30
14
13
Table 2: Annual Expenses
Question
03(b)
Use the same data in Table 2 (Annual
Expenses):