Supervised
Machine Learning
INTRODUCTION TO ML
TYPES OF ML
SUPERVISED ML
TYPES OF SUPERVISED ML
EXAMPLES
CONCLUSION
1
INTRODUCTION
• Machine learning is a subfield of
computer science that explores
the study and construction of
algorithms that can learn from and
make predictions on data.
• Such algorithms operate by
building a model from example
inputs in order to make data-
driven predictions or decisions,
rather than following strictly static
program instructions.
2
TYPES OF MACHINE LEARNING
• Supervised learning: Learns by examples as
to what a face is in terms of structure, color,
etc., so that after several iterations it learns
to define a face.
• Unsupervised learning: Since there is no
desired output in this case that is provided
therefore categorization is done so that the
algorithm differentiates correctly between
the face of a horse, cat or human.
• Reinforcement learning: Learning the
optimal behavior in an environment to
obtain maximum reward. In RL, the data is
accumulated from machine learning systems
that use a trial-and-error method.
3
Supervised Machine Learning
• Definition : Supervised learning is
task of inferring a function from
labeled training data. The training
data consist of a set of training
examples. In supervised learning,
each examples is a pair consisting
of an input object and a desired
output value. A supervised learning
algorithm analyzes the training
data and produces an inferred
function, which can be used for
mapping new examples.
4
Supervised Machine Learning contd…
5
Supervised Machine Learning contd…
• In order to solve a given problem of supervised learning, one has to
perform the following steps:
• 1. Determine the type of training examples. Before doing anything else,
the user should decide what kind of data is to be used as a training set.
• 2. Gather a training set. Thus, a set of input objects is gathered and
corresponding outputs are also gathered, either from human experts or
from measurements.
• 3. Determine the structure of the learned function and corresponding
learning algorithm.
• 4. Complete the design. Run the learning algorithm on the gathered
training set.
• 5. Evaluate the accuracy of the learned function. After parameter
adjustment and learning, the performance of the resulting function should
be measured on a test set that is separate from the training set.
6
Types Of Supervised Learning
• Classification: Classification is a
predictive model problem where
the class label is anticipated for a
specific example of input data. For
example, in identifying spam,
Yes/No, True/False problems and
so on
• Regression: Regression is a
method for understanding the
relationship between independent
variables or features and a
dependent variable or outcome.
For example, stock, housing prices,
height, weather forecasting
7
EXAMPLES
• Customer data analysis
• Face detection
• Spam detection
• Stock price prediction
• Handwritten digit
recognition
• Medical diagnosis
8
THANK YOU
References:
• Supervised learning Slides
• Flowchart
• Classification and regression
• Machine learning
• Applications