Wireless Sensor Networks are generally deployed in dynamically changing environment. When compared to common wired network nodes, WSN nodes must do more work. Since WSN devices are battery powered, so power management is a challenge. Clustering is one solution that has been proposed to alleviate the issue of limited power. Clustering is the most important method stabilizes the lifetime of the network. It entails the aggregation of sensor nodes into clusters and cluster head is picked out from all the clusters. Clustering is implemented in wireless sensor networks through the Machine Learning techniques. In wireless sensor networks, machine learning algorithms have an important role in cluster head formation and maintain the stability of the nodes in the cluster. Machine Learning approaches used in wireless sensor networks can be classified as Supervised learning, Unsupervised learning, and Reinforcement learning. Among these learning techniques, unsupervised learning deals with different clustering algorithms such as k-means, K-medoids, Fuzzy C-means, hierarichalbased, and SOM. This paper evaluates the performance of the variants of k-Means (kM) and Fuzzy C-means (FCM) algorithms in terms of the clustering and accuracy. This paper imparts performance analysis of different clustering algorithms in machine learning applied for wireless sensor networks. From the analysis, the Fuzzy C-Means algorithm found to be more suitable for node clustering in WSN