Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Types of Machine Learning | Section
Machine Learning Foundations with Scikit-Learn

bookTypes of Machine Learning

Stryg for at vise menuen

Supervised Learning

Note
Definition

Supervised learning is a machine learning technique in which the model is trained on a labeled training set.

The most popular supervised learning tasks are:

  • Regression (for example, predicting the price of a house): you will need a training set labeled with other house prices for that;

  • Classification (for example, classifying email as spam/ham): you will need a training set labeled as spam/ham for that.

Unsupervised Learning

Note
Definition

Unsupervised learning is a machine learning technique in which the model is trained on an unlabeled training set.

The main unsupervised learning tasks are clustering, anomaly detection, and dimensionality reduction.

Clusterization

Groups similar data points into clusters without labels — for example, grouping emails without knowing whether they are spam or not.

Anomaly Detection

Finds data points that deviate from normal patterns, such as unusual credit card transactions, without needing fraud labels.

Dimensionality Reduction

Reduces the number of features while preserving important information — also label-free.

Reinforcement Learning

Reinforcement learning differs significantly from the previous two types. It is a technique used to train self-driving vehicles, robots, AI in gaming, and more.

Note
Definition

Reinforcement learning is a machine learning technique in which the agent (e.g., vacuum cleaner robot) learns by making decisions and getting a reward if the decision is correct and a penalty if the decision is wrong.

Training a dog to fetch works similarly to reinforcement learning: good actions earn a reward, wrong actions earn a penalty, and successfully bringing the ball earns a larger reward, reinforcing the desired behavior.

1. To train the ML model for a supervised learning task, you need a training set to contain target (be labeled). Is it correct?

2. To train the ML model for a unsupervised learning task, containing a target (being labeled) for a training set is not required. Is it correct?

question mark

To train the ML model for a supervised learning task, you need a training set to contain target (be labeled). Is it correct?

Vælg det korrekte svar

question mark

To train the ML model for a unsupervised learning task, containing a target (being labeled) for a training set is not required. Is it correct?

Vælg det korrekte svar

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 2

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Sektion 1. Kapitel 2
some-alt