K-Means clustering is a tool used to determine the cluster structure of a dataset identified by its strong similarity to other clusters or its strong difference from other clusters. In another paper, it is stated that the working method of the K-Means algorithm requires the use of centroids as cluster prototypes and previous cluster results as its output. The dataset originates from the COMNETS…