Machine learning can be grouped into three main types. They differ in the way the machine learns. Here, we will look at the second one, unsupervised learning, where the machine learns by being given a set of features without the targets. In other words, the machine is free to learn by itself about what to look out for.