Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When to use supervised or unsupervised learning?

  • Which are the fundamental criterias for using supervised or unsupervised learning?
  • When is one better than the other?
  • Is there specific cases when you can only use one of them?

Thanks

like image 441
Daniel Amaya Avatar asked Jul 04 '17 13:07

Daniel Amaya


People also ask

When should unsupervised learning be used?

Two common use-cases for unsupervised learning are exploratory analysis and dimensionality reduction. Unsupervised learning is very useful in exploratory analysis because it can automatically identify structure in data.

How do you determine supervised or unsupervised learning?

"We choose supervised learning for applications when labeled data is available and the goal is to predict or classify future observations," Thota said. "We use unsupervised learning when labeled data is not available and the goal is to build strategies by identifying patterns or segments from the data."

What are examples of supervised and unsupervised learning?

The most commonly used Supervised Learning algorithms are decision tree, logistic regression, linear regression, support vector machine. The most commonly used Unsupervised Learning algorithms are k-means clustering, hierarchical clustering, and apriori algorithm.

Where is unsupervised learning used?

Unsupervised learning is helpful for data science teams that don't know what they're looking for in data. It can be used to search for unknown similarities and differences in data and create corresponding groups. For example, user categorization by their social media activity.


1 Answers

  1. If you a have labeled dataset you can use both. If you have no labels you only can use unsupervised learning.

  2. It´s not a question of "better". It´s a question of what you want to achieve. E.g. clustering data is usually unsupervised – you want the algorithm to tell you how your data is structured. Categorizing is supervised since you need to teach your algorithm what is what in order to make predictions on unseen data.

  3. See 1.

On a side note: These are very broad questions. I suggest you familiarize yourself with some ML foundations.

Good podcast for example here: http://ocdevel.com/podcasts/machine-learning

Very good book / notebooks by Jake VanderPlas: http://nbviewer.jupyter.org/github/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/Index.ipynb

like image 194
petezurich Avatar answered Sep 17 '22 01:09

petezurich