Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Task 5

Input = 103,65,63,31,27,52,17,27,64,57,92,60,49,38,31,58,10,54,31,59

name = Yerlan [6 length]

1. Choose centre numbers

C1 = 31
C2 = 57
C3 = 49

2.Calculate distance between clusters with each number

Initial C1 C2 C3
103 -72 -46 -54
65 -34 -8 -24
63 -32 -6 -14
31 0 26 18
27 4 30 22
52 -21 5 -3
17 14 40 32
27 4 30 22
64 -33 -7 -15
57 -26 0 -8
92 -61 -35 -43
60 -29 -3 -11
49 -18 8 0
38 -7 19 11
31 0 26 18
58 -27 -1 -9
10 21 47 39
54 -23 3 -5
31 0 26 18
59 -28 -2 -10

C1 = ()

You might also like