- Unsupervised machine learning finds patterns in a dataset without a known or labeled outcome.
- Supervised learning has a known labeled outcome; unsupervised learning works from input data alone.
- Clustering groups data points so each falls with similar points, for example to find customer segments.
- Dimensionality reduction projects data into fewer dimensions; PCA, t-SNE and UMAP are common approaches.
- Semi-supervised learning applies when you have far more unlabeled data than labeled data.
What is Unsupervised Machine Learning?
Unsupervised machine learning algorithms refer to patterns from a dataset without a known or labeled outcome. By comparison, supervised machine learning algorithms have a known labeled outcome. Knowing this distinction helps you understand why unsupervised machine learning methods cannot be applied to regression or classification problems because you don’t know what the value/answer for the output data might be. Not knowing the value/answer makes it impossible for you to train an algorithm the way you typically would.
Unsupervised learning can, however, be used to discover the foundational structure of the data. Take for instance this everyday example: you’re at a grocery store and see an unlabeled fruit that you’ve never seen before. Based on your observations of the unknown fruit’s shape, size, or color, you can easily tell it apart from other fruit nearby. This is roughly how unsupervised machine learning happens.
What are Examples of Unsupervised Machine Learning?
Below are two examples of unsupervised machine learning.
Clustering: Finding Customer Segments
Clustering is an unsupervised machine learning technique with the goal of finding natural groups or clusters in a feature space and interpreting the input data. A common approach is to divide the data points so that each data point falls into a group that is similar to other data points in the same group based on a predefined similarity or distance metric in the feature space.
Clustering techniques are being used to determine customer segments in marketing data. Being able to determine different segments of customers helps marketing teams approach these customer segments in unique ways. (Think of demographics such as gender, location, age, education, income bracket, and so on.)
Dimensionality Reduction: Reducing the Complexity of a Problem
Dimensionality reduction is an unsupervised machine learning technique with the goal of reducing the number of random variables under consideration. A common use of dimensionality reduction is to reduce the complexity of a problem by projecting the feature space to a lower-dimensional space so that less correlated variables are considered in a machine learning system.
Common approaches being used in dimensionality reduction are PCA, t-SNE, and UMAP algorithms. They are valuable for reducing the complexity of a problem and also visualizing the data instances in a way that is easier to understand.
Why is Unsupervised Machine Learning Important?
Unsupervised machine learning is a useful technique that can be used when you do not have data on the desired outcome. For instance, determining a target market for a new product or service a business has never sold before.
Unsupervised Machine learning vs Other Technologies & Methodologies
Unsupervised machine learning vs supervised
With supervised learning, input data is provided to the model along with the output. For unsupervised learning, only input data is provided to the model.
Unsupervised machine learning vs neural network
Unsupervised learning only has input data and no corresponding output variables. In a neural network, data will be passing through interconnected layers of nodes, classifying characteristics and information of a layer before passing the results on to other nodes in subsequent layers.
Algorithms vs Unsupervised machine learning
With supervised learning, the algorithm learns on a labeled dataset, providing an answer key that the algorithm can use to evaluate its accuracy on training data. An unsupervised model provides unlabeled data that the algorithm tries to make sense of by extracting features and patterns on its own.
Unsupervised Machine Learning in H2O AI
H2O-3 includes unsupervised algorithms such as k-means clustering, principal component analysis (PCA) and isolation forest for anomaly detection.