Clustering is an unsupervised learning technique that partitions data into groups called clusters based on similarities between data points. There are two main types of clustering - hard clustering which assigns each data point to one cluster, and soft clustering which assigns probabilities of cluster membership. Hierarchical clustering creates hierarchical clusters where clusters have a nested tree structure, and can be visualized using a dendrogram. K-means clustering is an iterative algorithm that partitions data into a predefined number of clusters K by minimizing distances between data points and cluster centroids.
Related topics: