Research Article

Security and Privacy of Cloud- and IoT-Based Medical Image Diagnosis Using Fuzzy Convolutional Neural Network

Algorithm 2

K-means clustering.
(1) Select cluster centres in random manner
(2) Compute the distance from each data point to the centre.
(3) The data point is assigned to the cluster centre where the data point distance is the lowest of all cluster centres.
(4) The cluster centre is updated by utilising the equation:
Where is the data point allotted to cluster centre, total number of data points allotted to cluster centre, and is the cluster centre.
(5) Repeat the steps 2 to 4 till the objective function is minimised.