These machine learning algorithms are used across many industries to identify patterns, make predictions, and more. Explore the differences between supervised and unsupervised learning to understand better what they are and how you might use them.
Supervised learning and unsupervised learning are two common types of machine learning models. You can use machine learning in descriptive, predictive, and prescriptive analyses to answer questions, predict events, and guide decisions. Discover the uses of each approach, their pros and cons, and how to decide which is right for your purposes.
specialization
U.S. Federal Taxation of Individuals & Businesses. Learners will develop knowledge in U.S. federal taxation as applied to individuals and businesses.
4.8
(732 ratings)
23,555 already enrolled
Intermediate level
Average time: 3 month(s)
Learn at your own pace
Skills you'll build:
Business Analysis, Federal Income Tax, Tax Accounting, IRS Regulations, Pass-Through Entity Taxation, Corporate Tax, Depreciation, Amortization, Capital Gains and Losses, Property Taxation, Nontaxable Exchanges, Tax Deduction, Form 1040 Preparation, Individual Taxation, U.S. Federal Tax, Tax Deductions, Self-Employment Tax
Machine learning, a subset of artificial intelligence (AI), uses algorithms to parse data, gather information, and output predictions or decisions without being specifically programmed to do so. Various disciplines use supervised and unsupervised learning algorithms in machine learning processes, each with its own strengths and best-case uses.
By understanding how the unique features of each learning algorithm can benefit different functions, you can make informed decisions about how to use these tools to answer questions and guide decision-making.
You use supervised machine learning algorithms when you have defined, known output data. This learning method requires labeled input and output data to train the model, which can then make predictions by learning from the provided data set. For instance, supervised learning can perform applications like email spam filtering and object recognition.
You might choose unsupervised machine learning, on the other hand, when the target output is unknown and the data is unlabeled. This type of learning discovers hidden patterns in data. It is commonly used for clustering data points in different groups (such as populations), which can help with tasks like market segmentation. Other applications include anomaly detection, such as detecting faulty equipment or security concerns.
Different algorithms work best for different goals. Depending on your industry and what you want to use it for, one type of algorithm may suit your needs.
Some typical supervised learning algorithms and their applications include:
Logistic regression: A classification algorithm commonly used when the output variable is binary (e.g., 0/1, yes/no, true/false) or has finite possible answers (e.g., small/medium/large, one/two/three). Examples include determining whether an email is spam or predicting if a learner will pass or fail.
Decision trees: Decision trees can perform both classification and regression tasks. Decision trees are a great option when interpretability is important, as they are easy to understand and visualize. They can also handle several data types, including continuous, categorical, and data with missing values. You could use decision trees to make business decisions by analyzing and weighing different risks, choices, and goals.
Neural networks: This is a powerful supervised learning technique designed to duplicate the functions of the human brain. It excels at processing high-dimensional data like images or natural language. For instance, you could use this algorithm in image recognition or language translation applications.
Some examples of common unsupervised learning algorithms include:
K-means clustering: This method is used when you need to segment a data set into distinct groups based on similar characteristics. For example, you might use K-means to segment a customer base for targeted marketing.
Hierarchical clustering: Similar to K-means, this algorithm can also perform data segmentation. The difference is that hierarchical clustering creates a tree-like model of the data, allowing you to visualize the nested grouping. You could use this method to categorize written documents based on their topics.
DBSCAN (density-based spatial clustering of applications with noise): You can also use this option for clustering tasks, especially when dealing with spatial data or when you don’t know the number of clusters beforehand. Anomaly detection is just one example of how you might use this method.
Principal component analysis (PCA): This technique can be used for dimensionality reduction when dealing with multivariate data. It can help visualize high-dimensional data and benefit areas such as gene expression analysis or customer segmentation.
course
An overview of the ideas, methods, and institutions that permit human society to manage risks and foster enterprise. Emphasis on financially-savvy ...
4.8
(29,589 ratings)
2,136,507 already enrolled
Beginner level
Average time: 33 hour(s)
Learn at your own pace
Skills you'll build:
Finance, Risk Management, Critical Thinking, Decision Making, Innovation
Machine learning techniques have become increasingly common in many professional fields. However, each method has pros and cons that may influence whether it is the right choice for your needs. Some typical advantages experienced by users of these algorithms include the following:
Produces highly accurate and reliable models (assuming sufficiently high-quality data)
Performance is easy to measure based on labeled data sets and known outcomes
Capable of handling a wide array of tasks using both classification and regression
Ideal for applications where existing data can predict future trends
Excels at exploring raw, unstructured data and uncovering hidden patterns
Can handle high volumes of data and generate representations quickly
Able to simplify complex, high-dimensional data
Classification is fast
As with any technical tool, you can also find attributes that may be disadvantageous depending on your needs.
Relies heavily on labeled training data and can be time-consuming or challenging to collect
Prone to overfitting when dealing with training data that is noisy, too large, too small, or complex
Can sometimes lead to unexpected or suboptimal results due to unlabeled data
Can be challenging to measure the performance of unsupervised learning models
Might be computationally intensive, especially when dealing with large data sets
Only performs classification tasks
Understanding the differences between supervised and unsupervised learning may be essential for effectively leveraging machine learning in your projects. Each type has its place and is instrumental in completing different tasks. Your choice depends on the specific problem, the nature of your data, the tools and time you have, and the objective of your analysis.
Supervised learning is typically easier to implement and evaluate with basic machine learning methods using common programming languages (such as R or Python). Unsupervised learning often requires more complex programming knowledge and skills to work with unclassified information and large training sets.
If you have labeled data and a clear understanding of what you want to predict, supervised learning is the way to go. This makes it suitable for applications like:
Image recognition
Customer sentiment analysis
Spam detection
Predictive analysis
Data mining
Health monitoring
If you have a large amount of data but no idea of what the outputs should be, unsupervised learning can explore the data and find structures or patterns. This makes it great for:
Exploratory data analysis
Image compression
Social network analysis
Detecting anomalies
Dimensionality reduction
Identifying customer personas
Determining market segmentation
Consider deepening your machine learning skills with courses from top universities and industry leaders on the Coursera learning platform. As a beginner, consider the Supervised Machine Learning: Regression and Classification course by DeepLearning.AI, or expand your skill set with the Machine Learning Specialization.
specialization
U.S. Federal Taxation of Individuals & Businesses. Learners will develop knowledge in U.S. federal taxation as applied to individuals and businesses.
4.8
(732 ratings)
23,555 already enrolled
Intermediate level
Average time: 3 month(s)
Learn at your own pace
Skills you'll build:
Business Analysis, Federal Income Tax, Tax Accounting, IRS Regulations, Pass-Through Entity Taxation, Corporate Tax, Depreciation, Amortization, Capital Gains and Losses, Property Taxation, Nontaxable Exchanges, Tax Deduction, Form 1040 Preparation, Individual Taxation, U.S. Federal Tax, Tax Deductions, Self-Employment Tax
course
An overview of the ideas, methods, and institutions that permit human society to manage risks and foster enterprise. Emphasis on financially-savvy ...
4.8
(29,589 ratings)
2,136,507 already enrolled
Beginner level
Average time: 33 hour(s)
Learn at your own pace
Skills you'll build:
Finance, Risk Management, Critical Thinking, Decision Making, Innovation
Editorial Team
Coursera’s editorial team is comprised of highly experienced professional editors, writers, and fact...
This content has been made available for informational purposes only. Learners are advised to conduct additional research to ensure that courses and other credentials pursued meet their personal, professional, and financial goals.
Get interactive, on-demand assistance that’s tailored to your unique goals.
Save money and learn in-demand skills from top companies and organizations at your own pace.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies enable the website to provide enhanced functionality and personalization. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.