L2-SL_en_Slides - How computers learn from data
L2-SL_en_Slides - How computers learn from data
Online streaming
service that
Data-driven recommends films
— based on users’
viewing habits
Introduction
A data-driven approach
● Interpreting voice
There are many ways a person
commands
can phrase a command, and
● Answering questions people speak in different
● Playing music languages and have different
● Setting alarms accents.
A data-driven approach
● Interpreting voice
Answers are found on the web
commands
using a search engine.
● Answering questions
● Playing music Search engines might use a
model to provide high-quality
● Setting alarms
results. There might also be a
model to help pick which result is
the most relevant for the current
question.
Introduction
Is a ‘smart’ speaker an AI
application?
Yes.
Data!
Activity 1
Machine
The current Not all AI
state of AI learning applications
relies heavily use machine
on the learning.
techniques in
machine
learning.
Activity 1
Label the uses with the approach you think would be appropriate,
either traditional instructions or a machine learning model.
Activity 1
Would you use machine
learning?
Calculatin
Forecastin Identifyin
g the
g air g animals
distance
pollution in a video
to a star
Activity 1
Would you use machine
learning?
Calculatin
Forecastin Identifyin
g the
g air g animals
distance
pollution in a video
to a star
Types of machine
learning
1 2 3
Activity 2
1 2 3
Activity 2
1 2 3
Activity 2
1 2 3
Activity 2
Supervised
learning Unsupervise Reinforceme
d learning nt learning
1 2 3
Activity 2
1 2 3
Activity 2
Unsupervised
Supervise learning Reinforceme
d learning nt learning
1 2 3
Activity 2
1 2 3
Activity 2
Reinforcement
learning
Supervise Unsupervise
d learning d learning
1 2 3
Activity 2
1 2 3
Activity 2
Supervised
learning Unsupervise Reinforceme
d learning nt learning
1 2 3
Activity 2
Types of machine
learning
Supervised Unsupervised Reinforcement
learning learning learning
Needs data that has Clusters similar data Learns by trial and
been preprocessed together error
by a human
● Kullanım Alanları:
Activity 3
Classification
Classification is a way of using supervised learning to
categorise data.
Classification
Classification models must be trained with example data that
already has labels assigned by a human.
Classification
Classification models must be trained with example data that
already has labels assigned by a human.
Classification
The more training data you use, the more accurate the
model will be. Banana
Apple Orange
Classificati
on model
Activity 3
Classification
Once the model is trained, new data can be fed into the model
and it will produce a prediction of which class the data belongs
to.
New
data
Prediction:
Classificati
on model Orange
Confidence 92%
Activity 3
Classification
Class Label
Apple
Activity 3
Classification —
example 1
Classification can be used to
determine whether reviews or Beautiful Colour
Reviewed in the United Kingdom 🇬🇧 on 22 September 2022
comments are positive or Size Name: 128GB | Colour: Alpine Green | Configuration: Without AppleCare+ | Verified
Purchase
Very happy with this phone.
Is my first iPhone, as I always had Windows Phone and then Android, but now I don’t think I
negative. could go back. Apple is super pricey so I think I will keep this phone for many years, but
generally, I’m happy and the colour is stunning.
Great battery life, great photos, and videos, very smooth.
analysis.
Activity 3
Classification —
example 1
Sentiment analysis
Beautiful Colour
Reviewed in the United Kingdom 🇬🇧 on 22 September 2022
Classes: Positive and Negative Size Name: 128GB | Colour: Alpine Green | Configuration: Without AppleCare+ | Verified
Purchase
Very happy with this phone.
Is my first iPhone, as I always had Windows Phone and then Android, but now I don’t think I
could go back. Apple is super pricey so I think I will keep this phone for many years, but
generally, I’m happy and the colour is stunning.
Great battery life, great photos, and videos, very smooth.
Classification —
example 2
Computer vision
Classification —
example 2
Shoe 1
● Confidence: 100%
Person 2
● Confidence: 99%
Dog 3
● Confidence: 98%
Bicycle 4
● Confidence: 95%
Wheel 5
● Confidence: 81%
Activity 3
Classification —
example 2
Computer vision
Classification — your
turn
DeepMind want you to help
them with their project of
tracking animals in the Serengeti.
Classification — your
turn Classes They need your help to pre-
label some images to help
cheetah hyena gazelle
train their classification
model.
Classification — your
turn Classes
cheetah hyena gazelle
Classification — your
turn Classes
cheetah hyena gazelle
Classification — your
turn Classes
cheetah hyena gazelle
Classification — your
turn Classes
cheetah hyena gazelle
Next lesson
In this lesson, you… Next lesson, you will…