From the course: Machine Learning with scikit-learn
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Explore unsupervised learning - scikit-learn Tutorial
From the course: Machine Learning with scikit-learn
Explore unsupervised learning
Machine learning is not always about predicting a value or choosing a label, sometimes the goal is not to forecast at all. Sometimes the goal is simply to understand what your data is trying to tell you. That is the key difference between supervised and unsupervised learning. When Spotify analyzes millions of songs and groups them by shared acoustic patterns like tempo, and timbre, it is using unsupervised learning to discover hidden musical neighborhoods rather than making predictions. In supervised learning, you train a model on examples that include the correct answers. Every row has features and a known outcome. The job of the model is to learn the relationship between the two so it can make accurate predictions on new data. If the task is to predict a number, you use regression. If the task is to predict a category, you use classification. The purpose is clear, you know exactly what you want the model to output. Unsupervised learning works in a very different way. There are no…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.