1.

There are multiple algorithms available in machine learning – supervised, unsupervised and other learning. How do you determine which one to use?

Answer»

Machine learning can be of types - supervised, unsupervised and others such as semi-supervised, REINFORCEMENT learning, etc.

When we look at how to choose which algorithm to SELECT, it depends on input data TYPE primarily and what are we trying to accomplish out of it.

  1. If the target variable is continuous, then we will use regression algorithms (which are part of supervised learning). e.g. Simple Linear Regression, Multiple Linear Regression, etc.
  2. If the target variable is categorical, then we will use classification algorithms (this is also part of supervised learning). e.g. Logistic Regression, Random Forest, Decision Trees, KNN, Neural Network, Support VECTOR Machine, Naive Bayes, etc.
  3. If the target variable is not available, then we will use any of the unsupervised learning such as Clustering or Association or Recommendation Algorithms.

Other types of machine learning also used in different scenarios.

Generative, Graph-based and Heuristic approaches are part of semi-supervised learning while reinforcement learning can be active and passive categories.

This is how different machine learning algorithms, methods, approaches can be used at different scenarios at a high level.



Discussion

No Comment Found

Related InterviewSolutions