Search code examples
machine-learningcriteriasupervised-learningunsupervised-learning

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


Solution

    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