Docsity

clustering in machine learning, Summaries of Artificial Intelligence

Partial preview of the text

Download clustering in machine learning and more Summaries Artificial Intelligence in PDF only on Docsity!

CLUSTERING

It is basically a type of unsupervised learning method.

An unsupervised learning method is a method in which we draw references from

datasets consisting of input data without labeled responses.

Generally, it is used as a process to find meaningful structure, explanatory underlying

processes, generative features, and groupings inherent in a set of examples.

K-means clustering Hierarchical clustering

K-MEANS

CLUSTERING

 We can see that there are three clusters in the data

STEPS FOR K-MEANS CLUSTERING

 Let us assume that we select the red and blue points as the centriods

 We know from geometry that the points on the green line are equi-distant from the red and blue centroid.  Now it becomes clear, which points will belong to cluster 1 and cluster 2.

 Closest centroid is a relative term.  We are using Euclidean distance here  But in other scenarios some other parameters may be more appropriate

 New centroids have been assigned

 Now, we will recolor those three points to assign them the correct cluster.  Since some reassignment as taken place therefore, we go back to step 4

 Compute the center of gravity for the new clusters