To put it simply, supervised learning uses labeled input and output data, while
an unsupervised learning algorithm does not. In supervised learning, the
algorithm “learns” from the training dataset by iteratively making predictions
on the data and adjusting for the correct answer.