Supervised Learning
Learn supervised learning algorithms including linear models, decision trees, neural networks, and more. Understand how models learn from labeled data to make predictions.
What is Supervised Learning?
Supervised learning is a type of machine learning where algorithms learn from labeled training data to make predictions or decisions. The "supervised" aspect comes from the fact that we provide the correct answers (labels) during training, allowing the model to learn the relationship between inputs and outputs.
Formal Definitions
Hypothesis, Model, and Prediction Function
A hypothesis or model or prediction function is a function that maps from the input space to the output space .
Training Set
A training set is a set of pairs such that and for .
The value is the training set size.
Goal of Learning
Goal: Use the training set to find (= learn) a good model .
- What "good" means is not always easy to define (part of the modeling challenge).
- We will want to use the model on new data, not the training set (generalization).
Problem Types
If is continuous, then we call it a regression problem.
If is discrete, then we call it a classification problem (binary or multi-class).
The Learning Pipeline
Topics Covered
📄️ Introduction
Supervised learning is a type of machine learning where the algorithm learns from labeled training data to make predictions or decisions without being explicitly programmed to perform the task.
🗃️ Linear Models
2 items
📄️ Generative Learning Algorithms
Generative learning algorithms take a different approach compared to discriminative algorithms. Instead of learning $P(y|x)$ directly (the probability of $y$ given $x$), generative algorithms model: