100% found this document useful (1 vote)
167 views2 pages

K Means Clustering Project

Uploaded by

kakebalu62
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
167 views2 pages

K Means Clustering Project

Uploaded by

kakebalu62
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

K Means Clustering - Minor Project

Introduction

K Means Clustering is an unsupervised machine learning algorithm used to group data into k distinct

clusters based on similarities. It is widely applied in fields such as market segmentation, document

clustering, and image compression.

Steps in K Means Clustering

1. Select the number of clusters (k).

2. Initialize centroids randomly or based on certain heuristics.

3. Assign each data point to the nearest centroid, forming clusters.

4. Update centroids by calculating the mean position of each cluster.

5. Repeat steps 3 and 4 until centroids stabilize or the maximum number of iterations is reached.

Applications

1. Customer segmentation in marketing to target specific groups.

2. Grouping documents with similar content in natural language processing.

3. Image segmentation in computer vision to distinguish different objects.

Advantages

1. Simple to understand and implement.

2. Works well with a large number of features.

Page 1
K Means Clustering - Minor Project

Limitations

1. The number of clusters (k) needs to be defined beforehand.

2. Sensitive to outliers and initial centroid selection.

Conclusion

K Means Clustering is a fundamental algorithm that provides an effective way to analyze and group

data. Understanding its working and applications can help in solving real-world problems efficiently.

Page 2

You might also like