From the course: Machine Learning with Scikit-Learn
What is supervised learning? - scikit-learn Tutorial
From the course: Machine Learning with Scikit-Learn
What is supervised learning?
- [Instructor] The most common form of machine learning is supervised learning. In Scikit-Learn, a supervised learning algorithm learns a relationship between your features matrix and your target factor. A feature is a measurable property. A target is typically what you want to make predictions for. Once a model learns a relationship between a features matrix and a target factor, it can make predictions for unseen or future data. Supervised learning can generally be thought of to solve two different types of tasks. The first is when you try to predict a continuous value. This is considered a regression problem. This means that your target factor contains continuous qualities like home prices. The second is when you're trying to predict a categorical value. This is considered a classification problem. This means that your target factor contains categorical values like different flower species. So that's it. Supervised learning is when an algorithm learns from a features matrix and target factor to make predictions.
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.
Contents
-
-
-
-
What is supervised learning?54s
-
(Locked)
How to format data for scikit-learn1m 55s
-
(Locked)
Linear regression using scikit-learn4m 32s
-
(Locked)
Train test split1m 53s
-
(Locked)
Logistic regression using scikit-learn3m 55s
-
(Locked)
Logistic regression for multiclass classification3m 36s
-
Decision trees using scikit-learn3m 9s
-
(Locked)
How to visualize decision trees using Matplotlib2m 5s
-
(Locked)
Bagged trees using scikit-learn2m
-
(Locked)
Random forests using scikit-learn2m 41s
-
(Locked)
Which machine learning model should you use?1m 23s
-
-
-