How do you make sure which Machine Learning Algorithm to use?

It completely depends on the dataset we have. If the data is discrete we use SVM. If the dataset is continuous we use linear regression.

So there is no specific way that lets us know which ML algorithm to use, it all depends on the exploratory data analysis (EDA).

EDA is like “interviewing” the dataset; As part of our interview we do the following:

  • Classify our variables as continuous, categorical, and so forth.
  • Summarize our variables using descriptive statistics.
  • Visualize our variables using charts.

Based on the above observations select one best-fit algorithm for a particular dataset.