SlideShare a Scribd company logo
5
Most read
10
Most read
15
Most read
Machine Learning : Supervised
Learning Algorithm
Dr.M.Pyingkodi
Dept of MCA
Kongu Engineering College
Erode, Tamilnadu,India
ML : Applications
Supervised Learning
the machine learning algorithm is trained on labeled data
based on supervision.
we train the machines using the "labelled" dataset,
and based on the training, the machine predicts the output.
Here, the labelled data specifies that some of the inputs are already mapped to
the output.
first, we train the machine with the input and corresponding output, and
then we ask the machine to predict the output using the test dataset.
supervised learning falls under
• Classification
• Regression and
• Forecasting
Supervised Learning
How Supervised Algorithm Work?
Suppose we have an input dataset of cats and dog images.
first, we will provide the training to the machine to understand the images,
such as the shape & size of the tail of cat and dog, Shape of eyes, colour, height
(dogs are taller, cats are smaller), etc.
After completion of training, we input the picture of a cat and ask the machine
to identify the object and predict the output.
Now, the machine is well trained, so it will check all the features of the object,
such as height, shape, colour, eyes, ears, tail, etc., and
find that it's a cat. So, it will put it in the Cat category.
This is the process of how the machine identifies the objects in Supervised
Learning.
The supervised learning technique is to map the input variable(x) with the
output variable(y).
Examples of supervised learning
• Predicting the results of a game
• Predicting whether a tumour is malignant or benign
• Predicting the price of domains like real estate, stocks, etc.
• Classifying texts such as classifying a set of emails as spam or non-spam
• Risk Assessment
• Fraud Detection
• Spam filtering
Classification
To solve the classification problems in which the output variable is categorical,
such as "Yes" or No, Male or Female, Red or Blue, etc.
The classification algorithms predict the categories present in the dataset
The machine learning program must draw a conclusion from observed values
and determine to what category new observations belong.
To identify the category of a given dataset, and these algorithms are mainly used
to predict the output for the categorical data.
The algorithm which implements the classification on a dataset is known as a
classifier.
Binary Classifier: If the classification problem has only two possible outcomes,
Examples: YES or NO, MALE or FEMALE, SPAM or NOT SPAM, CAT or DOG, etc.
Multi-class Classifier: If a classification problem has more than two outcomes,
Example: Classifications of types of crops, Classification of types of music.
Classification
Examples of Classification
Image classification
Prediction of disease
Win–loss prediction of games
Prediction of natural calamity like earthquake, flood, etc.
Recognition of handwriting
Spam Detection
Email filtering
Classification Algorithms
• Random Forest Algorithm
• Decision Tree Algorithm
• Logistic Regression Algorithm
• Support Vector Machine
Algorithm
Regression
predict a continuous value
A technique for investigating the relationship between independent variables/
features and a dependent variable /outcome.
statistical method to model the relationship between a dependent (target) and
independent (predictor) variables with one or more independent variables.
Establishing a relationship among the variables by estimating how one variable
affects the other.
To understand how the value of the dependent variable is changing
corresponding to an independent variable when other independent variables
are held fixed.
It predicts continuous/real values such as temperature, age, salary, price, etc.
Predicting prices of a house given the features of house like size, price etc is one
of the common examples of Regression.
Examples
• Demand forecasting in retails
• Sales prediction for managers
• Price prediction in real estate
• Weather forecast
• Skill demand forecast in job market
• Prediction of rain using temperature and other factors
• Determining Market trends
• Prediction of road accidents due to rash driving
• Predicting whether stock price of a company will increase tomorrow
Why Regression analysis?
• Regression estimates the relationship between the target and the
independent variable.
• It is used to find the trends in data.
• It helps to predict real/continuous values.
• Confidently determine the most important factor, the least important factor,
and how each factor is affecting the other factors.
Linear Regression
relationship between the continuous variables
Linear regression shows the linear relationship between the
independent variable (X-axis) and the dependent variable (Y-axis)
Linear Regression: Equation
Y= aX+b or
Y = dependent variables (target variables),
X= Independent variables (predictor variables),
a and b are the linear coefficients
coefficients: the values that multiply the predictor values
y = 3X + 5. In this equation, +3 is the coefficient, X is the predictor, and +5 is the
constant.
The sign of each coefficient indicates the direction of the relationship between a
predictor variable and the response variable.
A positive sign indicates that as the predictor variable increases, the response
variable also increases.
A negative sign indicates that as the predictor variable increases, the response
variable decreases.

More Related Content

PDF
PPTX
Data mining tools overall
PPTX
Supervised learning and Unsupervised learning
PDF
Optimization for Deep Learning
PDF
Classification and regression trees (cart)
PDF
Classification Based Machine Learning Algorithms
PPTX
Bayesian network
PDF
Management Information systems – Assignments
Data mining tools overall
Supervised learning and Unsupervised learning
Optimization for Deep Learning
Classification and regression trees (cart)
Classification Based Machine Learning Algorithms
Bayesian network
Management Information systems – Assignments

What's hot (20)

PPTX
Machine learning session4(linear regression)
PDF
Recurrent Neural Networks
PDF
Introduction to Computer Vision.pdf
PPTX
K-Folds Cross Validation Method
PPTX
Machine learning
PDF
Fundamentals of Genetic Algorithms (Soft Computing)
PPTX
What is Reinforcement Learning in Machine Learning
PPT
Ant Colony Optimization - ACO
PPTX
SVM & KNN Presentation.pptx
PPTX
Data science applications and usecases
PPTX
Data Mining : Concepts and Techniques
PDF
Parkinson’s Disease Detection By MachineLearning Using SVM
PPTX
Detailed Description on Cross Entropy Loss Function
PPT
Introduction to Optimization.ppt
PDF
PPT4: Frameworks & Libraries of Machine Learning & Deep Learning
PPTX
PPTX
Data visualization
PDF
Cluster analysis
PPT
Gr. 8, Information System and Its Types
Machine learning session4(linear regression)
Recurrent Neural Networks
Introduction to Computer Vision.pdf
K-Folds Cross Validation Method
Machine learning
Fundamentals of Genetic Algorithms (Soft Computing)
What is Reinforcement Learning in Machine Learning
Ant Colony Optimization - ACO
SVM & KNN Presentation.pptx
Data science applications and usecases
Data Mining : Concepts and Techniques
Parkinson’s Disease Detection By MachineLearning Using SVM
Detailed Description on Cross Entropy Loss Function
Introduction to Optimization.ppt
PPT4: Frameworks & Libraries of Machine Learning & Deep Learning
Data visualization
Cluster analysis
Gr. 8, Information System and Its Types
Ad

Similar to Supervised Machine Learning Algorithm (20)

PPTX
Supervised Machine Learning.pptx
PPTX
24AI201_AI_Unit_4 (1).pptx Artificial intelligence
PPTX
Application of Machine Learning in Agriculture
PDF
Machine learning
PPTX
ECT463 Machine Learning Module 1 KTU 2019 Scheme.pptx
PDF
Module 5.pdf Machine Learning Types and examples
PDF
material PREDICTIVE ANALYTICS UNIT I.pdf
PPTX
Lecture 3 ml
PPTX
Big Data Analytics - Unit 3.pptx
PPTX
Intro to supervised learning.pptx
PDF
Analytics Types.pdfdvf ifbvuibugdfiubuibubufdibhdfiubfduibhfiuvdih
PPTX
Introduction to machine learning and model building using linear regression
PPTX
Machine Learning techniques used in AI.
PPTX
Macine learning algorithms - K means, KNN
PDF
An introduction to machine learning and statistics
PPTX
Machine Learning DR PRKRao-PPT UNIT-I.pptx
PPTX
Session 17-18 machine learning very important and good type student favour.pptx
PPTX
ML Unjkfmvjmnb ,mit-2 - Rejhjmfnvhjmnv gression.pptx
PDF
Machine learning4dummies
PDF
Machine Learning and Deep Learning 4 dummies
Supervised Machine Learning.pptx
24AI201_AI_Unit_4 (1).pptx Artificial intelligence
Application of Machine Learning in Agriculture
Machine learning
ECT463 Machine Learning Module 1 KTU 2019 Scheme.pptx
Module 5.pdf Machine Learning Types and examples
material PREDICTIVE ANALYTICS UNIT I.pdf
Lecture 3 ml
Big Data Analytics - Unit 3.pptx
Intro to supervised learning.pptx
Analytics Types.pdfdvf ifbvuibugdfiubuibubufdibhdfiubfduibhfiuvdih
Introduction to machine learning and model building using linear regression
Machine Learning techniques used in AI.
Macine learning algorithms - K means, KNN
An introduction to machine learning and statistics
Machine Learning DR PRKRao-PPT UNIT-I.pptx
Session 17-18 machine learning very important and good type student favour.pptx
ML Unjkfmvjmnb ,mit-2 - Rejhjmfnvhjmnv gression.pptx
Machine learning4dummies
Machine Learning and Deep Learning 4 dummies
Ad

More from Pyingkodi Maran (20)

PDF
Defining Identity as a Service (IDaaS) in Cloud Computing
PDF
Data Science Normal Distribution Z-Score
PDF
Data Science Introduction and Process in Data Science
PDF
Database Manipulation with MYSQL Commands
PDF
Jquery Tutorials for designing Dynamic Web Site
PDF
Working with AWS Relational Database Instances
DOC
Health Monitoring System using IoT.doc
PPT
IoT Industry Adaptation of AI.ppt
PPT
IoT_Testing.ppt
PDF
Azure Devops
PDF
Creation of Web Portal using DURPAL
PDF
AWS Relational Database Instance
PDF
AWS S3 Buckets
PDF
Creation of AWS Instance in Cloud Platform
PDF
Amazon Web Service.pdf
PDF
Cloud Security
PDF
Cloud Computing Introduction
PDF
Unsupervised Learning in Machine Learning
PDF
Feature Engineering in Machine Learning
PDF
Normalization in DBMS
Defining Identity as a Service (IDaaS) in Cloud Computing
Data Science Normal Distribution Z-Score
Data Science Introduction and Process in Data Science
Database Manipulation with MYSQL Commands
Jquery Tutorials for designing Dynamic Web Site
Working with AWS Relational Database Instances
Health Monitoring System using IoT.doc
IoT Industry Adaptation of AI.ppt
IoT_Testing.ppt
Azure Devops
Creation of Web Portal using DURPAL
AWS Relational Database Instance
AWS S3 Buckets
Creation of AWS Instance in Cloud Platform
Amazon Web Service.pdf
Cloud Security
Cloud Computing Introduction
Unsupervised Learning in Machine Learning
Feature Engineering in Machine Learning
Normalization in DBMS

Recently uploaded (20)

PDF
PPT on Performance Review to get promotions
PPTX
Welding lecture in detail for understanding
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Digital Logic Computer Design lecture notes
PPTX
UNIT 4 Total Quality Management .pptx
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
Construction Project Organization Group 2.pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Well-logging-methods_new................
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPT on Performance Review to get promotions
Welding lecture in detail for understanding
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Arduino robotics embedded978-1-4302-3184-4.pdf
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Strings in CPP - Strings in C++ are sequences of characters used to store and...
CYBER-CRIMES AND SECURITY A guide to understanding
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Operating System & Kernel Study Guide-1 - converted.pdf
Digital Logic Computer Design lecture notes
UNIT 4 Total Quality Management .pptx
Mechanical Engineering MATERIALS Selection
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Construction Project Organization Group 2.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Foundation to blockchain - A guide to Blockchain Tech
Well-logging-methods_new................
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS

Supervised Machine Learning Algorithm

  • 1. Machine Learning : Supervised Learning Algorithm Dr.M.Pyingkodi Dept of MCA Kongu Engineering College Erode, Tamilnadu,India
  • 3. Supervised Learning the machine learning algorithm is trained on labeled data based on supervision. we train the machines using the "labelled" dataset, and based on the training, the machine predicts the output. Here, the labelled data specifies that some of the inputs are already mapped to the output. first, we train the machine with the input and corresponding output, and then we ask the machine to predict the output using the test dataset. supervised learning falls under • Classification • Regression and • Forecasting
  • 5. How Supervised Algorithm Work? Suppose we have an input dataset of cats and dog images. first, we will provide the training to the machine to understand the images, such as the shape & size of the tail of cat and dog, Shape of eyes, colour, height (dogs are taller, cats are smaller), etc. After completion of training, we input the picture of a cat and ask the machine to identify the object and predict the output. Now, the machine is well trained, so it will check all the features of the object, such as height, shape, colour, eyes, ears, tail, etc., and find that it's a cat. So, it will put it in the Cat category. This is the process of how the machine identifies the objects in Supervised Learning. The supervised learning technique is to map the input variable(x) with the output variable(y).
  • 6. Examples of supervised learning • Predicting the results of a game • Predicting whether a tumour is malignant or benign • Predicting the price of domains like real estate, stocks, etc. • Classifying texts such as classifying a set of emails as spam or non-spam • Risk Assessment • Fraud Detection • Spam filtering
  • 7. Classification To solve the classification problems in which the output variable is categorical, such as "Yes" or No, Male or Female, Red or Blue, etc. The classification algorithms predict the categories present in the dataset The machine learning program must draw a conclusion from observed values and determine to what category new observations belong. To identify the category of a given dataset, and these algorithms are mainly used to predict the output for the categorical data. The algorithm which implements the classification on a dataset is known as a classifier. Binary Classifier: If the classification problem has only two possible outcomes, Examples: YES or NO, MALE or FEMALE, SPAM or NOT SPAM, CAT or DOG, etc. Multi-class Classifier: If a classification problem has more than two outcomes, Example: Classifications of types of crops, Classification of types of music.
  • 9. Examples of Classification Image classification Prediction of disease Win–loss prediction of games Prediction of natural calamity like earthquake, flood, etc. Recognition of handwriting Spam Detection Email filtering
  • 10. Classification Algorithms • Random Forest Algorithm • Decision Tree Algorithm • Logistic Regression Algorithm • Support Vector Machine Algorithm
  • 11. Regression predict a continuous value A technique for investigating the relationship between independent variables/ features and a dependent variable /outcome. statistical method to model the relationship between a dependent (target) and independent (predictor) variables with one or more independent variables. Establishing a relationship among the variables by estimating how one variable affects the other. To understand how the value of the dependent variable is changing corresponding to an independent variable when other independent variables are held fixed. It predicts continuous/real values such as temperature, age, salary, price, etc. Predicting prices of a house given the features of house like size, price etc is one of the common examples of Regression.
  • 12. Examples • Demand forecasting in retails • Sales prediction for managers • Price prediction in real estate • Weather forecast • Skill demand forecast in job market • Prediction of rain using temperature and other factors • Determining Market trends • Prediction of road accidents due to rash driving • Predicting whether stock price of a company will increase tomorrow
  • 13. Why Regression analysis? • Regression estimates the relationship between the target and the independent variable. • It is used to find the trends in data. • It helps to predict real/continuous values. • Confidently determine the most important factor, the least important factor, and how each factor is affecting the other factors.
  • 14. Linear Regression relationship between the continuous variables Linear regression shows the linear relationship between the independent variable (X-axis) and the dependent variable (Y-axis)
  • 15. Linear Regression: Equation Y= aX+b or Y = dependent variables (target variables), X= Independent variables (predictor variables), a and b are the linear coefficients coefficients: the values that multiply the predictor values y = 3X + 5. In this equation, +3 is the coefficient, X is the predictor, and +5 is the constant. The sign of each coefficient indicates the direction of the relationship between a predictor variable and the response variable. A positive sign indicates that as the predictor variable increases, the response variable also increases. A negative sign indicates that as the predictor variable increases, the response variable decreases.