SlideShare una empresa de Scribd logo
1 de 45
Descargar para leer sin conexión
Machine Learning
LEC 01: Welcome
Machine Learning
L E C 0 2
TA1
Mohammad Akbari
Instructor
TAs
00-00
Time
Introduction to
Machine Learning
Machine Learning
LEC 01: Welcome
What is
Machine Learning?
Machine Learning
LEC 01: Welcome
What is Machine Learning (speech recognition)?
“Hi”
“How are you”
“Good bye”
You said “Hello”
A large amount of
audio data
You write the program
for learning.
Learning ......
Machine Learning
LEC 01: Welcome
“monkey”
“cat”
“dog”
What is Machine Learning?
This is “cat”
A large amount of
images
You write the program
for learning.
Learning ......
Machine Learning
LEC 01: Welcome
Machine Learning
≈ Looking for a Function
• Speech Recognition
• Image Recognition
• Playing Go
• Dialogue System
( )=
f
( )=
f
( )=
f
( )=
f
“Cat”
“How are you”
“5-5”
“Hello”
“Hi”
(what the user said) (system response)
(next move)
Machine Learning
LEC 01: Welcome
Framework
A set of
function !
2
1, f
f
( )=
1
f “cat”
( )=
1
f “dog”
( )=
2
f “monkey”
( )=
2
f “snake”
Model
( )=
f “cat”
Image Recognition:
Machine Learning
LEC 01: Welcome
Framework
A set of
function !
2
1, f
f
( )=
f “cat”
Image Recognition:
Model
Training
Data
Goodness of
function f
Better!
“monkey” “cat” “dog”
function input:
function output:
Machine Learning
LEC 01: Welcome
Framework
A set of
function !
2
1, f
f
( )=
f “cat”
Image Recognition:
Model
Training
Data
Goodness of
function f
“monkey” “cat” “dog”
*
f
Pick the “Best” Function
Using *
f
“cat”
Training Testing
Step 1
Step 2 Step 3
Machine Learning
LEC 01: Welcome
Step 1:
define a set
of function
Step 2:
goodness of
function
Step 3: pick
the best
function
Machine Learning is so simple ……
Similar to put an elephant into a refrigerator ……
Machine Learning
LEC 01: Welcome
Learning Map
Machine Learning
LEC 01: Welcome
Supervised Learning
Regression
Linear
Model
Structured
Learning
Semi-supervised
Learning
Transfer
Learning
Unsupervised
Learning
Reinforcement
Learning
Classification
Deep
Learning
SVM, decision
tree, K-NN …
Non-linear Model
scenario method
task
Learning Map
Learning Theory
Machine Learning
LEC 01: Welcome
Learning Map
Regression
The output of the target
function ! is “scalar”.
f
Today’s morning PM2.5
Yesterday’s morning
PM2.5 …….
Tomorrow’s morning PM2.5
(scalar)
9/01 morning PM2.5 = 63 9/02 morning PM2.5 = 65 9/03 morning PM2.5 = 100
Training Data:
9/12 morning PM2.5 = 30 9/13 morning PM2.5 = 25 9/14 morning PM2.5 = 20
Input:
Input:
Output:
Output:
Predict:
PM2.5
Machine Learning
LEC 01: Welcome
Learning Map
Regression
Classification
Machine Learning
LEC 01: Welcome
Classification
• Binary Classification • Multi-class Classification
Function f Function f
Input Input
Yes or No Class 1, Class 2, … Class N
Machine Learning
LEC 01: Welcome
Binary Classification
Spam
filtering
(http://spam-filter-review.toptenreviews.com/)
Function Yes/No
Yes
No
Training
Data
Machine Learning
LEC 01: Welcome
Multi-class Classification
http://top-breaking-news.com/
Function
Policy
Sports
Econ
Sport Policy Econ
Training Data
Document
Classification
Machine Learning
LEC 01: Welcome
Learning Map
Regression
Linear
Model
Classification
Deep
Learning
Non-linear Model
Machine Learning
LEC 01: Welcome
Classification - Deep Learning
• Image Recognition
Function
“monkey”
“cat”
“dog”
“monkey”
“cat”
“dog”
Training Data
Each possible
object is a class
Hierarchical Structure
Machine Learning
LEC 01: Welcome
Classification - Deep Learning
• Playing GO
Function
(19 x 19 classes)
Next move
Each position
is a class
Training Data
Machine Learning
LEC 01: Welcome
Learning Map
Supervised Learning
Regression
Linear
Model
Semi-supervised
Learning
Classification
Deep
Learning
SVM, decision
tree, K-NN …
Non-linear Model
Training Data:
Input/output
pair of target
function
Function
output = label
Hard to collect a large
amount of labelled data
Machine Learning
LEC 01: Welcome
Semi-supervised Learning
Labelled
data
Unlabeled
data
cat dog
(Images of cats and dogs)
For example, recognizing cats and dogs
Machine Learning
LEC 01: Welcome
Learning Map
Supervised Learning
Regression
Linear
Model
Structured
Learning
Semi-supervised
Learning
Transfer
Learning
Classification
Deep
Learning
SVM, decision
tree, K-NN …
Non-linear Model
Machine Learning
LEC 01: Welcome
Transfer Learning
Labelled
data
cat dog
Data not related to the task considered
(can be either labeled or unlabeled)
elephant Haruhi
For example, recognizing cats and dogs
Machine Learning
LEC 01: Welcome
Learning Map
Supervised Learning
Regression
Linear
Model
Structured
Learning
Semi-supervised
Learning
Transfer
Learning
Unsupervised
Learning
Classification
Deep
Learning
SVM, decision
tree, K-NN …
Non-linear Model
Machine Learning
LEC 01: Welcome
http://top-breaking-news.com/
Unsupervised Learning
• Machine Reading: Machine learns the meaning of words from reading
a lot of documents
Machine Learning
LEC 01: Welcome
Unsupervised Learning
• Machine Reading: Machine learns the meaning of words from reading
a lot of documents
Function
Apple
https://garavato.files.wordpress.com/
2011/11/stacksdocuments.jpg?w=490
Training data is a lot of text
?
Machine Learning
LEC 01: Welcome
Unsupervised Learning
Draw something!
http://ttic.uchicago.edu/~
klivescu/MLSLP2016/
(slides of Ian Goodfellow)
Machine Learning
LEC 01: Welcome
Unsupervised Learning
• Machine Drawing
Function
?
Training data is a lot of images
code
Machine Learning
LEC 01: Welcome
Learning Map
Supervised Learning
Regression
Linear
Model
Structured
Learning
Semi-supervised
Learning
Transfer
Learning
Unsupervised
Learning
Classification
Deep
Learning
SVM, decision
tree, K-NN …
Non-linear Model
Machine Learning
LEC 01: Welcome
Structured Learning
- Beyond Classification
“機器學習”
“Welcome to
Machine Learning”
“Machine Learning”
f
Speech Recognition
f
Machine Translation
Face Recognition
Machine Learning
LEC 01: Welcome
Structured Learning
- Beyond Classification
Face Recognition
https://github.com/yu4
u/age-gender-
estimation
Machine Learning
LEC 01: Welcome
Learning Map
Supervised Learning
Regression
Linear
Model
Structured
Learning
Semi-supervised
Learning
Transfer
Learning
Unsupervised
Learning
Reinforcement
Learning
Classification
Deep
Learning
SVM, decision
tree, K-NN …
Non-linear Model
Machine Learning
LEC 01: Welcome
Transfer Learning
- Machine
Learning's Next
Frontier
http://ruder.io/transfer-learning/
Machine Learning
LEC 01: Welcome
Transfer Learning - Machine Learning's Next
Frontier
http://ruder.io/transfer-learning/
Machine Learning
LEC 01: Welcome
Transfer Learning - Machine Learning's Next
Frontier
http://ruder.io/transfer-learning/
Machine Learning
LEC 01: Welcome
Reinforcement Learning
Machine Learning
LEC 01: Welcome
Reinforcement learning
https://www.marutitech.com/businesses-reinforcement-learning/
Machine Learning
LEC 01: Welcome
Reinforcement learning
https://becominghuman.ai/the-very-basics-of-reinforcement-learning-154f28a79071
Machine Learning
LEC 01: Welcome
Face Aging
https://medium.com/syncedreview/face-aging-with-conditional-generative-
adversarial-networks-d41076379047
Machine Learning
LEC 01: Welcome
Face Aging
Machine Learning
LEC 01: Welcome
Supervised v.s. Reinforcement
• Supervised
• Reinforcement
Hello J
Agent
……
Agent
……. ……. ……
Bad
“Hello” Say “Hi”
“Bye bye” Say “Good bye”
Learning from
teacher
Learning from
critics
Machine Learning
LEC 01: Welcome
Supervised v.s. Reinforcement
• Supervised:
• Reinforcement Learning
Next move:
“5-5”
Next move:
“3-3”
First move …… many moves …… Win!
Alpha Go is supervised learning + reinforcement learning.
Machine Learning
LEC 01: Welcome
Supervised Learning
Regression
Linear
Model
Structured
Learning
Semi-supervised
Learning
Transfer
Learning
Unsupervised
Learning
Reinforcement
Learning
Classification
Deep
Learning
SVM, decision
tree, K-NN …
Non-linear Model
scenario method
task
Learning Map
Learning Theory
Machine Learning
LEC 01: Welcome
Why we need to learn
Machine Learning?
http://www.express.co.uk/news/science/651202/First-step-towards-The-Terminator-
becoming-reality-AI-beats-champ-of-world-s-oldest-game
New job:AI trainer
Will AI replace our jobs?
Machine Learning
LEC 01: Welcome
Questions?

Más contenido relacionado

Similar a ML-02.pdf

Crm saturday madrid 2017 jordi montaña - test automation
Crm saturday madrid 2017   jordi montaña - test automationCrm saturday madrid 2017   jordi montaña - test automation
Crm saturday madrid 2017 jordi montaña - test automationDemian Raschkovan
 
Crm Saturday Madrid - Test Automation for Dynamics 365
Crm Saturday Madrid  - Test Automation for Dynamics 365Crm Saturday Madrid  - Test Automation for Dynamics 365
Crm Saturday Madrid - Test Automation for Dynamics 365Jordi Montaña
 
Machine Learning Platform in LINE Fukuoka
Machine Learning Platform in LINE FukuokaMachine Learning Platform in LINE Fukuoka
Machine Learning Platform in LINE FukuokaLINE Corporation
 
Functional solid
Functional solidFunctional solid
Functional solidMatt Stine
 
ELMSLN @ OpenEd 14
ELMSLN @ OpenEd 14ELMSLN @ OpenEd 14
ELMSLN @ OpenEd 14btopro
 
a introduction for machine learning class
a introduction for machine learning classa introduction for machine learning class
a introduction for machine learning classyjlj9555
 
Lec1cgu13updated.ppt
Lec1cgu13updated.pptLec1cgu13updated.ppt
Lec1cgu13updated.pptRahulTr22
 
Data science programming .ppt
Data science programming .pptData science programming .ppt
Data science programming .pptGanesh E
 
Lec1cgu13updated.ppt
Lec1cgu13updated.pptLec1cgu13updated.ppt
Lec1cgu13updated.pptkalai75
 
Lec1cgu13updated.ppt
Lec1cgu13updated.pptLec1cgu13updated.ppt
Lec1cgu13updated.pptAravind Reddy
 
Beyond the Symbols: A 30-minute Overview of NLP
Beyond the Symbols: A 30-minute Overview of NLPBeyond the Symbols: A 30-minute Overview of NLP
Beyond the Symbols: A 30-minute Overview of NLPMENGSAYLOEM1
 
Yann le cun
Yann le cunYann le cun
Yann le cunYandex
 
From Elixir to Akka (and back) - ElixirConf Mx 2017
From Elixir to Akka (and back) - ElixirConf Mx 2017From Elixir to Akka (and back) - ElixirConf Mx 2017
From Elixir to Akka (and back) - ElixirConf Mx 2017Agustin Ramos
 
Dev days. windows phone development
Dev days. windows phone developmentDev days. windows phone development
Dev days. windows phone developmentVolha Banadyseva
 
Machine Learning Overview
Machine Learning OverviewMachine Learning Overview
Machine Learning OverviewMykhailo Koval
 
Deep Learning for Search: Personalization and Deep Tokenization
Deep Learning for Search: Personalization and Deep TokenizationDeep Learning for Search: Personalization and Deep Tokenization
Deep Learning for Search: Personalization and Deep TokenizationJake Mannix
 
Deep Learning for Unified Personalized Search and Recommendations - Jake Mann...
Deep Learning for Unified Personalized Search and Recommendations - Jake Mann...Deep Learning for Unified Personalized Search and Recommendations - Jake Mann...
Deep Learning for Unified Personalized Search and Recommendations - Jake Mann...Lucidworks
 

Similar a ML-02.pdf (20)

Crm saturday madrid 2017 jordi montaña - test automation
Crm saturday madrid 2017   jordi montaña - test automationCrm saturday madrid 2017   jordi montaña - test automation
Crm saturday madrid 2017 jordi montaña - test automation
 
Crm Saturday Madrid - Test Automation for Dynamics 365
Crm Saturday Madrid  - Test Automation for Dynamics 365Crm Saturday Madrid  - Test Automation for Dynamics 365
Crm Saturday Madrid - Test Automation for Dynamics 365
 
Machine Learning Platform in LINE Fukuoka
Machine Learning Platform in LINE FukuokaMachine Learning Platform in LINE Fukuoka
Machine Learning Platform in LINE Fukuoka
 
Functional solid
Functional solidFunctional solid
Functional solid
 
ELMSLN @ OpenEd 14
ELMSLN @ OpenEd 14ELMSLN @ OpenEd 14
ELMSLN @ OpenEd 14
 
a introduction for machine learning class
a introduction for machine learning classa introduction for machine learning class
a introduction for machine learning class
 
Data Science
Data Science Data Science
Data Science
 
Lec1cgu13updated.ppt
Lec1cgu13updated.pptLec1cgu13updated.ppt
Lec1cgu13updated.ppt
 
Data science programming .ppt
Data science programming .pptData science programming .ppt
Data science programming .ppt
 
Lec1cgu13updated.ppt
Lec1cgu13updated.pptLec1cgu13updated.ppt
Lec1cgu13updated.ppt
 
Lec1cgu13updated.ppt
Lec1cgu13updated.pptLec1cgu13updated.ppt
Lec1cgu13updated.ppt
 
Beyond the Symbols: A 30-minute Overview of NLP
Beyond the Symbols: A 30-minute Overview of NLPBeyond the Symbols: A 30-minute Overview of NLP
Beyond the Symbols: A 30-minute Overview of NLP
 
Yann le cun
Yann le cunYann le cun
Yann le cun
 
From Elixir to Akka (and back) - ElixirConf Mx 2017
From Elixir to Akka (and back) - ElixirConf Mx 2017From Elixir to Akka (and back) - ElixirConf Mx 2017
From Elixir to Akka (and back) - ElixirConf Mx 2017
 
Dev days. windows phone development
Dev days. windows phone developmentDev days. windows phone development
Dev days. windows phone development
 
My lectures
My lecturesMy lectures
My lectures
 
Intro1
Intro1Intro1
Intro1
 
Machine Learning Overview
Machine Learning OverviewMachine Learning Overview
Machine Learning Overview
 
Deep Learning for Search: Personalization and Deep Tokenization
Deep Learning for Search: Personalization and Deep TokenizationDeep Learning for Search: Personalization and Deep Tokenization
Deep Learning for Search: Personalization and Deep Tokenization
 
Deep Learning for Unified Personalized Search and Recommendations - Jake Mann...
Deep Learning for Unified Personalized Search and Recommendations - Jake Mann...Deep Learning for Unified Personalized Search and Recommendations - Jake Mann...
Deep Learning for Unified Personalized Search and Recommendations - Jake Mann...
 

Último

preservation, maintanence and improvement of industrial organism.pptx
preservation, maintanence and improvement of industrial organism.pptxpreservation, maintanence and improvement of industrial organism.pptx
preservation, maintanence and improvement of industrial organism.pptxnoordubaliya2003
 
basic entomology with insect anatomy and taxonomy
basic entomology with insect anatomy and taxonomybasic entomology with insect anatomy and taxonomy
basic entomology with insect anatomy and taxonomyDrAnita Sharma
 
Forensic limnology of diatoms by Sanjai.pptx
Forensic limnology of diatoms by Sanjai.pptxForensic limnology of diatoms by Sanjai.pptx
Forensic limnology of diatoms by Sanjai.pptxkumarsanjai28051
 
Radiation physics in Dental Radiology...
Radiation physics in Dental Radiology...Radiation physics in Dental Radiology...
Radiation physics in Dental Radiology...navyadasi1992
 
Speech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptxSpeech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptxpriyankatabhane
 
Microteaching on terms used in filtration .Pharmaceutical Engineering
Microteaching on terms used in filtration .Pharmaceutical EngineeringMicroteaching on terms used in filtration .Pharmaceutical Engineering
Microteaching on terms used in filtration .Pharmaceutical EngineeringPrajakta Shinde
 
《Queensland毕业文凭-昆士兰大学毕业证成绩单》
《Queensland毕业文凭-昆士兰大学毕业证成绩单》《Queensland毕业文凭-昆士兰大学毕业证成绩单》
《Queensland毕业文凭-昆士兰大学毕业证成绩单》rnrncn29
 
Citronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyayCitronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyayupadhyaymani499
 
User Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather StationUser Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather StationColumbia Weather Systems
 
Pests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdfPests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdfPirithiRaju
 
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCRCall Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCRlizamodels9
 
FREE NURSING BUNDLE FOR NURSES.PDF by na
FREE NURSING BUNDLE FOR NURSES.PDF by naFREE NURSING BUNDLE FOR NURSES.PDF by na
FREE NURSING BUNDLE FOR NURSES.PDF by naJASISJULIANOELYNV
 
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)riyaescorts54
 
Four Spheres of the Earth Presentation.ppt
Four Spheres of the Earth Presentation.pptFour Spheres of the Earth Presentation.ppt
Four Spheres of the Earth Presentation.pptJoemSTuliba
 
Bioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptxBioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptx023NiWayanAnggiSriWa
 
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...D. B. S. College Kanpur
 
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptxTHE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptxNandakishor Bhaurao Deshmukh
 
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPirithiRaju
 

Último (20)

preservation, maintanence and improvement of industrial organism.pptx
preservation, maintanence and improvement of industrial organism.pptxpreservation, maintanence and improvement of industrial organism.pptx
preservation, maintanence and improvement of industrial organism.pptx
 
basic entomology with insect anatomy and taxonomy
basic entomology with insect anatomy and taxonomybasic entomology with insect anatomy and taxonomy
basic entomology with insect anatomy and taxonomy
 
Hot Sexy call girls in Moti Nagar,🔝 9953056974 🔝 escort Service
Hot Sexy call girls in  Moti Nagar,🔝 9953056974 🔝 escort ServiceHot Sexy call girls in  Moti Nagar,🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Moti Nagar,🔝 9953056974 🔝 escort Service
 
Forensic limnology of diatoms by Sanjai.pptx
Forensic limnology of diatoms by Sanjai.pptxForensic limnology of diatoms by Sanjai.pptx
Forensic limnology of diatoms by Sanjai.pptx
 
Volatile Oils Pharmacognosy And Phytochemistry -I
Volatile Oils Pharmacognosy And Phytochemistry -IVolatile Oils Pharmacognosy And Phytochemistry -I
Volatile Oils Pharmacognosy And Phytochemistry -I
 
Radiation physics in Dental Radiology...
Radiation physics in Dental Radiology...Radiation physics in Dental Radiology...
Radiation physics in Dental Radiology...
 
Speech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptxSpeech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptx
 
Microteaching on terms used in filtration .Pharmaceutical Engineering
Microteaching on terms used in filtration .Pharmaceutical EngineeringMicroteaching on terms used in filtration .Pharmaceutical Engineering
Microteaching on terms used in filtration .Pharmaceutical Engineering
 
《Queensland毕业文凭-昆士兰大学毕业证成绩单》
《Queensland毕业文凭-昆士兰大学毕业证成绩单》《Queensland毕业文凭-昆士兰大学毕业证成绩单》
《Queensland毕业文凭-昆士兰大学毕业证成绩单》
 
Citronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyayCitronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyay
 
User Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather StationUser Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather Station
 
Pests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdfPests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdf
 
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCRCall Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
 
FREE NURSING BUNDLE FOR NURSES.PDF by na
FREE NURSING BUNDLE FOR NURSES.PDF by naFREE NURSING BUNDLE FOR NURSES.PDF by na
FREE NURSING BUNDLE FOR NURSES.PDF by na
 
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
 
Four Spheres of the Earth Presentation.ppt
Four Spheres of the Earth Presentation.pptFour Spheres of the Earth Presentation.ppt
Four Spheres of the Earth Presentation.ppt
 
Bioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptxBioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptx
 
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
 
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptxTHE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
 
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
 

ML-02.pdf

  • 1. Machine Learning LEC 01: Welcome Machine Learning L E C 0 2 TA1 Mohammad Akbari Instructor TAs 00-00 Time Introduction to Machine Learning
  • 2. Machine Learning LEC 01: Welcome What is Machine Learning?
  • 3. Machine Learning LEC 01: Welcome What is Machine Learning (speech recognition)? “Hi” “How are you” “Good bye” You said “Hello” A large amount of audio data You write the program for learning. Learning ......
  • 4. Machine Learning LEC 01: Welcome “monkey” “cat” “dog” What is Machine Learning? This is “cat” A large amount of images You write the program for learning. Learning ......
  • 5. Machine Learning LEC 01: Welcome Machine Learning ≈ Looking for a Function • Speech Recognition • Image Recognition • Playing Go • Dialogue System ( )= f ( )= f ( )= f ( )= f “Cat” “How are you” “5-5” “Hello” “Hi” (what the user said) (system response) (next move)
  • 6. Machine Learning LEC 01: Welcome Framework A set of function ! 2 1, f f ( )= 1 f “cat” ( )= 1 f “dog” ( )= 2 f “monkey” ( )= 2 f “snake” Model ( )= f “cat” Image Recognition:
  • 7. Machine Learning LEC 01: Welcome Framework A set of function ! 2 1, f f ( )= f “cat” Image Recognition: Model Training Data Goodness of function f Better! “monkey” “cat” “dog” function input: function output:
  • 8. Machine Learning LEC 01: Welcome Framework A set of function ! 2 1, f f ( )= f “cat” Image Recognition: Model Training Data Goodness of function f “monkey” “cat” “dog” * f Pick the “Best” Function Using * f “cat” Training Testing Step 1 Step 2 Step 3
  • 9. Machine Learning LEC 01: Welcome Step 1: define a set of function Step 2: goodness of function Step 3: pick the best function Machine Learning is so simple …… Similar to put an elephant into a refrigerator ……
  • 10. Machine Learning LEC 01: Welcome Learning Map
  • 11. Machine Learning LEC 01: Welcome Supervised Learning Regression Linear Model Structured Learning Semi-supervised Learning Transfer Learning Unsupervised Learning Reinforcement Learning Classification Deep Learning SVM, decision tree, K-NN … Non-linear Model scenario method task Learning Map Learning Theory
  • 12. Machine Learning LEC 01: Welcome Learning Map Regression The output of the target function ! is “scalar”. f Today’s morning PM2.5 Yesterday’s morning PM2.5 ……. Tomorrow’s morning PM2.5 (scalar) 9/01 morning PM2.5 = 63 9/02 morning PM2.5 = 65 9/03 morning PM2.5 = 100 Training Data: 9/12 morning PM2.5 = 30 9/13 morning PM2.5 = 25 9/14 morning PM2.5 = 20 Input: Input: Output: Output: Predict: PM2.5
  • 13. Machine Learning LEC 01: Welcome Learning Map Regression Classification
  • 14. Machine Learning LEC 01: Welcome Classification • Binary Classification • Multi-class Classification Function f Function f Input Input Yes or No Class 1, Class 2, … Class N
  • 15. Machine Learning LEC 01: Welcome Binary Classification Spam filtering (http://spam-filter-review.toptenreviews.com/) Function Yes/No Yes No Training Data
  • 16. Machine Learning LEC 01: Welcome Multi-class Classification http://top-breaking-news.com/ Function Policy Sports Econ Sport Policy Econ Training Data Document Classification
  • 17. Machine Learning LEC 01: Welcome Learning Map Regression Linear Model Classification Deep Learning Non-linear Model
  • 18. Machine Learning LEC 01: Welcome Classification - Deep Learning • Image Recognition Function “monkey” “cat” “dog” “monkey” “cat” “dog” Training Data Each possible object is a class Hierarchical Structure
  • 19. Machine Learning LEC 01: Welcome Classification - Deep Learning • Playing GO Function (19 x 19 classes) Next move Each position is a class Training Data
  • 20. Machine Learning LEC 01: Welcome Learning Map Supervised Learning Regression Linear Model Semi-supervised Learning Classification Deep Learning SVM, decision tree, K-NN … Non-linear Model Training Data: Input/output pair of target function Function output = label Hard to collect a large amount of labelled data
  • 21. Machine Learning LEC 01: Welcome Semi-supervised Learning Labelled data Unlabeled data cat dog (Images of cats and dogs) For example, recognizing cats and dogs
  • 22. Machine Learning LEC 01: Welcome Learning Map Supervised Learning Regression Linear Model Structured Learning Semi-supervised Learning Transfer Learning Classification Deep Learning SVM, decision tree, K-NN … Non-linear Model
  • 23. Machine Learning LEC 01: Welcome Transfer Learning Labelled data cat dog Data not related to the task considered (can be either labeled or unlabeled) elephant Haruhi For example, recognizing cats and dogs
  • 24. Machine Learning LEC 01: Welcome Learning Map Supervised Learning Regression Linear Model Structured Learning Semi-supervised Learning Transfer Learning Unsupervised Learning Classification Deep Learning SVM, decision tree, K-NN … Non-linear Model
  • 25. Machine Learning LEC 01: Welcome http://top-breaking-news.com/ Unsupervised Learning • Machine Reading: Machine learns the meaning of words from reading a lot of documents
  • 26. Machine Learning LEC 01: Welcome Unsupervised Learning • Machine Reading: Machine learns the meaning of words from reading a lot of documents Function Apple https://garavato.files.wordpress.com/ 2011/11/stacksdocuments.jpg?w=490 Training data is a lot of text ?
  • 27. Machine Learning LEC 01: Welcome Unsupervised Learning Draw something! http://ttic.uchicago.edu/~ klivescu/MLSLP2016/ (slides of Ian Goodfellow)
  • 28. Machine Learning LEC 01: Welcome Unsupervised Learning • Machine Drawing Function ? Training data is a lot of images code
  • 29. Machine Learning LEC 01: Welcome Learning Map Supervised Learning Regression Linear Model Structured Learning Semi-supervised Learning Transfer Learning Unsupervised Learning Classification Deep Learning SVM, decision tree, K-NN … Non-linear Model
  • 30. Machine Learning LEC 01: Welcome Structured Learning - Beyond Classification “機器學習” “Welcome to Machine Learning” “Machine Learning” f Speech Recognition f Machine Translation Face Recognition
  • 31. Machine Learning LEC 01: Welcome Structured Learning - Beyond Classification Face Recognition https://github.com/yu4 u/age-gender- estimation
  • 32. Machine Learning LEC 01: Welcome Learning Map Supervised Learning Regression Linear Model Structured Learning Semi-supervised Learning Transfer Learning Unsupervised Learning Reinforcement Learning Classification Deep Learning SVM, decision tree, K-NN … Non-linear Model
  • 33. Machine Learning LEC 01: Welcome Transfer Learning - Machine Learning's Next Frontier http://ruder.io/transfer-learning/
  • 34. Machine Learning LEC 01: Welcome Transfer Learning - Machine Learning's Next Frontier http://ruder.io/transfer-learning/
  • 35. Machine Learning LEC 01: Welcome Transfer Learning - Machine Learning's Next Frontier http://ruder.io/transfer-learning/
  • 36. Machine Learning LEC 01: Welcome Reinforcement Learning
  • 37. Machine Learning LEC 01: Welcome Reinforcement learning https://www.marutitech.com/businesses-reinforcement-learning/
  • 38. Machine Learning LEC 01: Welcome Reinforcement learning https://becominghuman.ai/the-very-basics-of-reinforcement-learning-154f28a79071
  • 39. Machine Learning LEC 01: Welcome Face Aging https://medium.com/syncedreview/face-aging-with-conditional-generative- adversarial-networks-d41076379047
  • 40. Machine Learning LEC 01: Welcome Face Aging
  • 41. Machine Learning LEC 01: Welcome Supervised v.s. Reinforcement • Supervised • Reinforcement Hello J Agent …… Agent ……. ……. …… Bad “Hello” Say “Hi” “Bye bye” Say “Good bye” Learning from teacher Learning from critics
  • 42. Machine Learning LEC 01: Welcome Supervised v.s. Reinforcement • Supervised: • Reinforcement Learning Next move: “5-5” Next move: “3-3” First move …… many moves …… Win! Alpha Go is supervised learning + reinforcement learning.
  • 43. Machine Learning LEC 01: Welcome Supervised Learning Regression Linear Model Structured Learning Semi-supervised Learning Transfer Learning Unsupervised Learning Reinforcement Learning Classification Deep Learning SVM, decision tree, K-NN … Non-linear Model scenario method task Learning Map Learning Theory
  • 44. Machine Learning LEC 01: Welcome Why we need to learn Machine Learning? http://www.express.co.uk/news/science/651202/First-step-towards-The-Terminator- becoming-reality-AI-beats-champ-of-world-s-oldest-game New job:AI trainer Will AI replace our jobs?
  • 45. Machine Learning LEC 01: Welcome Questions?