Supervised learning and unsupervised learning are two of the most common types of machine learning. In supervised learning, the model is trained on a set of labeled data, which means that each data point has a corresponding output. The model then learns to predict the output for new data points. In unsupervised learning, the model is trained on a set of unlabeled data, which means that the model does not know what the output should be. The model then learns to find patterns in the data.
Here is a table that summarizes the key differences between supervised learning and unsupervised learning:
Feature
Supervised Learning
Unsupervised Learning
Data
Labeled
Unlabeled
Goal
Predict output
Find patterns
Example
Spam filtering
Clustering
Supervised learning is typically used for tasks where the output is known, such as classification and regression. Unsupervised learning is typically used for tasks where the output is unknown, such as clustering and dimensionality reduction.
Here are some examples of supervised learning tasks:
Spam filtering: Classifying emails as spam or not spam
Image classification: Classifying images of objects, such as cars or dogs
Text classification: Classifying text documents, such as news articles or product reviews
Regression: Predicting a continuous value, such as the price of a house or the number of sales in a month
Here are some examples of unsupervised learning tasks:
Clustering: Finding groups of similar data points, such as customers who are likely to buy the same products
Dimensionality reduction: Reducing the number of features in a dataset, such as reducing the number of pixels in an image
Association rule mining: Finding rules that describe relationships between items, such as which products are often bought together
Supervised learning is typically more accurate than unsupervised learning, but it requires more labeled data. Unsupervised learning is typically less accurate than supervised learning, but it can be used with unlabeled data.
The best type of machine learning to use depends on the specific task. If the output is known and there is a large amount of labeled data available, then supervised learning is the best choice. If the output is unknown or there is not enough labeled data available, then unsupervised learning may be a better choice.
Markdown for AI
A clean, structured version of this page for AI assistants and LLMs.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Supervised learning and unsupervised learning are two of the most common types of machine learning. In supervised learning, the model is trained on a set of labeled data, which means that each data point has a corresponding output. The model then learns to predict the output for new data points. In unsupervised learning, the model is trained on a set of unlabeled data, which means that the model does not know what the output should be. The model then learns to find patterns in the data.
Here is a table that summarizes the key differences between supervised learning and unsupervised learning:
Supervised learning is typically used for tasks where the output is known, such as classification and regression. Unsupervised learning is typically used for tasks where the output is unknown, such as clustering and dimensionality reduction.
Here are some examples of supervised learning tasks:
Here are some examples of unsupervised learning tasks:
Supervised learning is typically more accurate than unsupervised learning, but it requires more labeled data. Unsupervised learning is typically less accurate than supervised learning, but it can be used with unlabeled data.
The best type of machine learning to use depends on the specific task. If the output is known and there is a large amount of labeled data available, then supervised learning is the best choice. If the output is unknown or there is not enough labeled data available, then unsupervised learning may be a better choice.