Course Content

  • K_Means_Clustering_
  • 6.2 K-Means Clustering

Course Content


K-means clustering assigns every data point to the nearest centroid, which are K separate randomly-initiated points in the data. The centroid is shifted to the average of all the points assigned to it once each point has been assigned.

K-means is a data clustering approach that can be applied to unsupervised machine learning. It can sort unlabeled data into a preset number of clusters based on their similarities (k).

Clustering is an unsupervised machine learning technique for discovering and grouping related data points in huge datasets without regard for the outcome. Clustering (also known as cluster analysis) is a technique for organising data into structures that are easier to comprehend and manipulate.

The number of clusters that is ideal can be calculated as follows: Calculate different values of k using a clustering technique (e.g., k-means clustering). Changing k from 1 to 10 clusters, for example. Calculate the total within-cluster sum of squares for each k. (wss).

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere