The problem of unsupervised learning is that there is no easy way to tell a machine what the right answer is. This is in contrast to supervised learning, where we have a dataset with known correct labels. In unsupervised learning, the machine must find structure in data on its own. There are many ways to…