00:01
Here the distance by euclitz formula formula is the distance of x1 comma x2 comma a comma b which is equal to square root of x1 minus a the whole square plus x2 minus b the whole square.
00:18
So here x1 x2 are the observed values and a comma b these are all the centroid values.
00:37
Now we can start with the clusters c1 such that 1 comma 1 and c2 such that 5 .0 comma 7 .0.
00:49
Now we are considering two subjects a and b.
00:53
So now consider the subjects a and b and the values to 1 .52.
00:59
So now euclid's distance from c1 is square root of 1 .5 minus 1 the whole square.
01:08
Plus 2 minus 1 the whole square which is square root of 0 .25 plus 1 .1 so which is 1 .19.
01:16
Then similarly distance from c2 is square root of 1 .5 minus 5 the whole square plus 2 minus 7 the whole square which is square root of 12 .25 plus 5 so which is equal to 4 .15.
01:33
From this we can say that the subject 2 belongs to cluster 1 okay now the centroid we can take it as c1 equal to 1 .5 plus 1 .0 divided by 2 comma 2 .0 plus 1 .0 divided by 2 so which is equal to 1 .25 comma 1 .5 so these are all the centriots now consider the another subject 3 so for subject 3 so we have two categories a and b and the scores are 3 .0 and 4 .0 from this euclidean distance from c1 is square root of 3 .0 minus 1 .25 the whole square plus 4 .0 minus 1 .5 the whole square which is equal to 3 .05.
02:36
5 and euclidean distance from c2 is square root of 3 .0 minus 5 .0 the whole square plus 4 .0 minus 7 .0 the whole square which is 3 .60.
02:52
Then similarly consider the another subject 5...