Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can anyone give a real life example of supervised learning and unsupervised learning? [closed]

I recently studied about supervised learning and unsupervised learning. From theory, I know that supervised means getting the information from labeled datasets and unsupervised means clustering the data without any labels given.

But, the problem is I always get confused to identify whether the given example is supervised learning or unsupervised learning during my studies.

Can anyone please give a real life example?

like image 925
krupal Avatar asked Oct 03 '14 16:10

krupal


People also ask

Can you provide an example of supervised learning application in real world?

One practical example of supervised learning problems is predicting house prices. How is this achieved? First, we need data about the houses: square footage, number of rooms, features, whether a house has a garden or not, and so on. We then need to know the prices of these houses, i.e. the corresponding labels.

How is unsupervised learning used in the real world?

An example of unsupervised machine learning would be a case where a supermarket wants to increase its revenue. It decides to implement a machine learning algorithm on its sold products' data. It was observed that the customers who bought cereals more often tend to buy milk or those who buy eggs tend to buy bacon.


2 Answers

Supervised learning:

  • You get a bunch of photos with information about what is on them and then you train a model to recognize new photos.
  • You have a bunch of molecules and information about which are drugs and you train a model to answer whether a new molecule is also a drug.

Unsupervised learning:

  • You have a bunch of photos of 6 people but without information about who is on which one and you want to divide this dataset into 6 piles, each with the photos of one individual.
  • You have molecules, part of them are drugs and part are not but you do not know which are which and you want the algorithm to discover the drugs.
like image 87
lejlot Avatar answered Sep 21 '22 18:09

lejlot


Supervised Learning:

  • is like learning with a teacher
  • training dataset is like a teacher
  • the training dataset is used to train the machine

Example:

Classification: Machine is trained to classify something into some class.

  • classifying whether a patient has disease or not
  • classifying whether an email is spam or not

Regression: Machine is trained to predict some value like price, weight or height.

  • predicting house/property price
  • predicting stock market price

Unsupervised Learning:

  • is like learning without a teacher
  • the machine learns through observation & find structures in data

Example:

Clustering: A clustering problem is where you want to discover the inherent groupings in the data

  • such as grouping customers by purchasing behavior

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 Y

Read more: Supervised and Unsupervised Machine Learning Algorithms

like image 39
Mukesh Chapagain Avatar answered Sep 24 '22 18:09

Mukesh Chapagain