SUPERVISED LEARNING

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/23

encourage image

There's no tags or description

Looks like no tags are added yet.

24 Terms

1
New cards

Supervised learning

It is a type of machine learning where a model learns from labelled

data, meaning each input has a correct output.

2
New cards

Each input has a known output

Adjusts itself to reduce prediction errors

Make accurate predictions on new data

Main features of Supeervised learning

3
New cards

Classification

Regression

Types of Supervised Learning:

4
New cards

Classification

Type of supervised learning where the output is a categorical variable (e.g., spam vs. non-spam emails, yes vs. no).

5
New cards

Regression

Type of supervised learning where the output is a continuous variable (e.g., predicting house prices, stock prices).

6
New cards

Collect Labeled Data

Split the Dataset

Train the Model

Validate and Test the Model

Deploy and Predict on New Data

Steps of Supervised Learning

7
New cards

Collect Labeled Data


Gather a dataset where each input has a known correct output (label).

8
New cards

Split the Dataset


Divide the data into training data (about 80%) and testing data (about 20%). The model will learn from the training data and be evaluated on the testing data.

9
New cards

Train the Model


Feed the training data (inputs and their labels) to a suitable supervised learning algorithm. The model tries to find patterns that map inputs to correct outputs.

10
New cards

Validate and Test the Model


Evaluate the model using testing data it has never seen before. The model predicts outputs and these predictions are compared with the actual labels to calculate accuracy or error.

11
New cards

Deploy and Predict on New Data


Once the model performs well, it can be used to predict outputs for completely new, unseen data.

12
New cards

K-Nearest Neighbors (kNN)

Linear Regression

Non-Linear Regression

Logistic Regression

Polynomial Regression

Naive Bayes Classifier

Decision Tree

Random Forest

Neural Networks

Supervised Learning Algorithms

13
New cards

K-Nearest Neighbors (kNN)

Predicts based on the closest data points. Results depend on the value of k and distance measure.

14
New cards

Linear regression

it is used to identify the relationship between a continuous dependent variable and one or more independent variables. It is typically used to make predictions about future outcomes.

15
New cards

Non-Linear Regression

In these cases, outputs must be modeled with a _____ function, and it expresses a relationship between variables through a ____, or curved, line, and its models can handle complex relationships with many parameters.

16
New cards

Logistic Regression

is a type of supervised learning classification algorithm that is used to predict a binary output variable, and it handles categorical dependent variables—when they have binary outputs, such as true or false or positive or negative.

17
New cards

polynomial regression


It models a relationship between variables on a graph, and the functions used in this express this relationship through an exponential degree. Also, it is a special case of regression where input features are raised to powers, allowing linear models to fit nonlinear patterns.

18
New cards

Naive Bayes Classifier


Based on probability and Bayes’ theorem, assuming features are independent of each other. It is a classification algorithm that adopts the principle of class conditional independence from Bayes’ theorem.

19
New cards

Decision Tree


Uses a tree-like structure where each node represents a decision and each leaf represents an outcome.

20
New cards

Random Forest


Combines multiple decision trees to improve accuracy and reduce overfitting. It is a flexible supervised machine learning algorithm used for both classification and regression purposes.

21
New cards

Neural Networks


These are brain-inspired machine learning models trained on labeled input-output pairs to map features to target values or categories. They consist of interconnected nodes (neurons) organized into layers.

22
New cards

Generalization

is a trained model's ability to make accurate predictions on new, unseen data and without this, a model may perform well on the data it was trained on but fail when applied to real-world inputs.

23
New cards

Overfitting

It occurs when a model learns the training data too precisely. Rather than identifying the patterns that distinguish signal from noise, this model memorizes specific training examples, including their noise, outliers, and random variation.

24
New cards

Underfitting

occurs when a model is too simple to represent the structure of the data. An underfit model makes overly restrictive assumptions about the data's form, and this shows up in the training error: