SUPERVISED LEARNING
AND UNSUPERVISED
LEARNING
PRESENTED BY :
G .SHRUTHI -
22GE1A0526
G .MOUNIKA -
22GE1A0527
SECOND YEAR – CSC
MACHINE LEARNING
Machine learning is a subfield of computer science that
explodes 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 prediction or decision ,
rather than following strictly static program instructions.
TYPES OF MACHINE
• Supervised Learning
• Unsupervised Learning
SUPERVISED LEARNING
Supervised Learning is the task of inferring a function from
labeled training data. The training data consist of set of
training examples.
In supervised learning, each example is a pair consisting of
an input object and desired output value. A supervised
Learning algorithm analyzes the training data and produces an
inferred function.
SUPERVISED LEARNING PROCESS
FLOW
SUPERVISED LEARNING PROCESS :
TWO STEPS
Learning ( training) : Learn a model using the
training data
Testing : Test the model using unseen test data to
access the model accuracy
Accuracy = Number of correct classification / Total
number of test cases
SUPERVISED LEARNING
Supervised learning problems can be further grouped into
regression and classification problems
• Classification: A classification problem is when the output
variable is a category, such as “ red “ or “ blue “ or “
disease” and “ no disease”.
• Regression : A regression problem is when the output
variable is a real value, such as “ dollars “ or “ weight”.
ADVANTAGES OF SUPERVISED
LEARNING
• It allows you to be very specific about the definition of the
labels.
• You are able to determine the number of classes you want to
have.
• The input data is very well known and is labeled.
• The results produced by the supervised method are more
accurate.
DISADVANTAGES OF SUPERVISED
LEARNING
• Supervised learning can be a complex method.
• Supervised learning needed alot of computation time for
training.
• If you have a dynamic big and growing data, you are not sure
of the labels to predefine.
UNSUPERVISED LEARNING
Unsupervised learning is where you only have input data (X)
and no corresponding output variables.The goal for
unsupervised learning is to model the underlying structure or
distribution in the data inorder to learn more about the data.
• These are called unsupervised learning because unlike
supervised learning above there is no correct answers and
there is no teacher. Algorithms are left to their own devices to
discover and present the interesting structure in the data.
UNSUPERVISED LEARNING
UNSUPERVISED LEARNING
Unsupervised learning problems can be further grouped into
clustering and association problems.
Clustering: A clustering problem is where you want to
discover the internet groupings in the data, such as grouping
customers by purchasing behaviour.
Association: An association rule learning problem is where
you want to discover rules that describe large portions of your
data, such as people that buy X also tend to buy .
ADVANTAGES OF UNSUPERVISED
LEARNING
• Less complexity in comparison with supervised learning.
• It often easier to get unlabeled data.
• Takes place in real time such that all the input data to be
analyse and labeled in the presence of learners.
DISADVANTAGES OF UNSUPERVISED
LEARNING
• You cannot get very specific about the defination of that data
sorting and and output.
• Less accuracy of the results.
• The results of the analysis cannot be ascertained.