This document discusses and provides examples of supervised and unsupervised learning. Supervised learning involves using labeled training data to learn relationships between inputs and outputs and make predictions. An example is using data on patients' attributes to predict the likelihood of a heart attack. Unsupervised learning involves discovering hidden patterns in unlabeled data by grouping or clustering items with similar attributes, like grouping fruits by color without labels. The goal of supervised learning is to build models that can make predictions when new examples are presented.
Supervised learning
⢠Supervisedlearning:
suppose you had a basket and it is fulled with some fresh fruits your
task is to arrange the same type fruits at one place.
⢠suppose the fruits are apple,banana,cherry,grape.
⢠so you already know from your previous work that, the shape of each
and every fruit so it is easy to arrange the same type of fruits at one
place.
⢠here your previous work is called as train data in data mining.
⢠so you already learn the things from your train data, This is because
of you have a response variable which says you that if some fruit
have so and so features it is grape, like that for each and every fruit.
⢠This type of data you will get from the train data.
⢠This type of learning is called as supervised learning.
⢠This type solving problem come under Classification.
⢠So you already learn the things so you can do your job confidently.
3.
Unsupervised learning
⢠supposeyou had a basket and it is fulled with some fresh fruits
your task is to arrange the same type fruits at one place.
⢠This time you don't know any thing about that fruits, you are
first time seeing these fruits so how will you arrange the same
type of fruits.
⢠What you will do first you take on fruit and you will select any
physical character of that particular fruit. suppose you taken
colours.
⢠Then the groups will be some thing like this.
⢠RED COLOR GROUP: apples & cherry fruits.
GREEN COLOR AND SMALL SIZE: grapes.
⢠This type of learning is know unsupervised learning.
4.
Aim Of SupervisedLearning
⢠The aim of supervised, machine learning is to build a model
that makes predictions based on evidence in the presence of
uncertainty. As adaptive algorithms identify patterns in data, a
computer "learns" from the observations. When exposed to
more observations, the computer improves its predictive
performance.
5.
Example
⢠suppose youwant to predict whether someone
will have a heart attack within a year. You have a
set of data on previous patients, including age,
weight, height, blood pressure, etc. You know
whether the previous patients had heart attacks
within a year of their measurements. So, the
problem is combining all the existing data into a
model that can predict whether a new person
will have a heart attack within a year.