Machine learning can be grouped into three main types. They differ in the way the machine learns. Here, we will look at the first one, supervised learning, where the machine learns by being given a set of features and targets. In other words, we need to teach the machine what to look out for.

Also, check out the other two types, unsupervised learning and reinforcement learning.