The algorithm is a kind of iterative method. The k-means algorithm efficiency with the computational time and accuracy depends on the initial membership value and the number of cluster. If the membership value is appropriately selected, it obtains the good cluster center to make that it will converge to an optimum solution.