find hidden patterns or intrinsic structures in data
unsupervised learning is a type of machine learning algorithm used to draw inferences from datasets without human intervention, in contrast to supervised learning where labels are provided along with the data.
the most common unsupervised learning method is cluster analysis, which applies clustering methods to explore data and find hidden patterns or groupings in data.
with matlab you can apply many popular clustering algorithms:
- hierarchical clustering: builds a multilevel hierarchy of clusters by creating a cluster tree
- k-means and k-medoids clustering: partitions data into k distinct clusters based on distance.
- gaussian mixture models: models clusters as a mixture of multivariate normal density components
- density-based spatial clustering (dbscan): groups points that are close to each other in areas of high density, keeping track of outliers in low-density regions
- self-organizing maps: uses neural networks that learn the topology and distribution of the data
- spectral clustering: graph-based clustering that can handle arbitrary non-convex shapes
other methods that apply unsupervised learning include semi-supervised learning and unsupervised feature ranking. semi-supervised learning reduces the need for labeled data in supervised learning. clustering applied to the whole data set establishes similarity between labeled and unlabeled data, and labels are propagated to previously unlabeled and similar cluster members.
unsupervised feature ranking assigns scores to features without a given prediction target or response. matlab® and statistics and machine learning toolbox™ support unsupervised ranking using laplacian scores.
key points
- unsupervised learning is typically applied before supervised learning, to identify features in exploratory data analysis, and establish classes based on groupings.
- k-means and hierarchical clustering remain popular. only some clustering methods can handle arbitrary non-convex shapes including those supported in matlab: dbscan, hierarchical, and spectral clustering.
- unsupervised learning (clustering) can also be used to compress data.
- unsupervised feature ranking is available to apply distance-based clustering more efficiently to large data sets.
examples and how to
software reference
see also: statistics and machine learning toolbox, machine learning with matlab, image processing toolbox