SlideShare una empresa de Scribd logo
1 de 74
Introduction to Machine
Learning
Nandita Naik
1
Agenda for Session 1
2
1. What can Machine Learning
do in art?
2. How does ML work?
3. Main Concepts:
a. How does a Computer
Learn From Data?
b. What is an ML Model?
c. How Does Training and
What happens when
art interacts with
technology?
3
First Example of Technology for Art (1826 AD)
4
5
Technology in Art Today: 2017
Go PhotoShop!
This is not Machine
Intelligence, because a
human is doing the thinking.
6
So What is Machine-Generated Art ?
7
8
“The Red List” by Georgia O’Keeffe
9
10
11
(source) 12
What Else Can Machine
Intelligence do?
13
14
Image recognition
Image captioning
15
This is just in
the area of
image
processing.
16
● Language Translation
● Music Generation
● Movie Recommendation in
Netflix
● Call of Duty enemies
● Fraud detection
● Voice Recognition
● Disease detection
To get a closer look at ML,
let’s investigate...
17
To get a closer look at ML,
let’s investigate...
SNAPCHAT!
18
19
What’s going on?
20
Find the different parts of the person’s face!
mesh
or “point mask”
21
The mesh uses computer vision, which
involves understanding images.
22
● Snapchat’s algorithm learns from thousands
of face pictures manually tagged with these
dots,
● Then it predicts where the nose is in every
new face that uses the puppy filter!
Learning and Prediction :
Key Concepts in Machine Learning
Machine
Learning (ML) ==
learning from data 23
Machine learning works like our brain.
24
Just like us, it learns by observing,
predicting and self-correcting.
Machine learning works like our brain.
25
Just like us, it learns by observing,
predicting and self-correcting.
What does that mean? Let’s take an
example.
Suppose...
The weekend’s coming up, and you just heard of a concert. You
have to make a decision: should you go to the concert or stay
home?
26
Should I go to the concert?
1. Do I have a test coming up?
a. Which class?
2. What is the weather going to be like?
3. Do I have a friend that wants to come?
a. Who?
4. How much do I like the band?
27
Should I go to the concert?
1. Do I have a test coming up?
a. Which class?
2. What is the weather going to be like?
3. Do I have a friend that wants to come?
a. Who?
4. How much do I like the band?
But these factors aren’t all equal! Some may be
more important or have a higher weight. 28
test?
Nice
weather?
friend?
test weight
Weather weight
friend weight
Go or Stay?
29
Computers don’t know how important these
factors are (what weights to give them.) At
least, not right away.
Problem
30
Solution
They can learn the weights by studying lots and lots of
examples.
31
To understand how a machine
learns from data, we’ll take a simple
example:
linear regression.
32
33
Grade
Homework
hours per
week
34
Grade
Homework
hours per
week
35
Grade
Homework
hours per
week
f(grade) = homework
hours
36
Grade
Homework
hours per
week
f(grade) = homework
hours
Goal: Guess f(x)!
Let’s assume f(x) is linear, so we can
write...
37
Goal: Guess f(x)!
Let’s assume f(x) is linear, so we can
write...
38
y = wx + b
We don’t know what w and b are. Let’s guess!
39
40Grade
Homework
hours per
week
We don’t know what w and b are. Let’s guess!
41Grade
Homework
hours per
week
We don’t know what w and b are. Let’s guess!
42Grade
Homework
hours per
week
We don’t know what w and b are. Let’s guess!
How good is our guess?
43
How good is our guess? Let’s measure loss.
Loss = penalty for a wrong prediction
“Less loss” is better than “more loss”
44
Goal: Minimize loss.
45
Goal: Minimize loss.
46
SGD
(stochastic
gradient
descent)
gradient descent
47
Recap
- linear regression: fitting a line to data
- We randomly choose w and b (in y = wx +
b)
- Figure out our loss (“less loss” means we
are closer)
- Adjust our weights until you arrive at the 48
Questions?
49
50
We know how to fit a line to our
homework hours vs. grades data.
51
We know how to fit a line to our
homework hours vs. grades data.
Not everything in life can be explained with a
linear function!
52
We know how to fit a line to our
homework hours vs. grades data.
Not everything in life can be explained with a
linear function!
How do we do better?
53
Grade
Homework
hours per
week
54
Grade
Homework
hours per
week
55
Grade
Homework
hours per
week
56
Grade
Homework
hours per
week
57
overfitting: when f(x)
doesn’t generalize
So we don’t want that kind of
nonlinear function.
58
59
In general, if we want a
machine to learn a non-
linear function, we use a
neural network.
60
61
w
b
y = wx + b
ReLU. f(x) = max(0,x) An activation function
lets our network
learn a non-linear function.
input
weight
output
63
computation max(0,x)
x
Activation functions
Now let’s talk what an actual
neural network looks like.
64
A neural network is made up
of many neurons, organized
into layers.
65
neurons make up layers
input
data
(x)
output
(y)
input layer output layer
The arrows are the
weights and the
inputs.
66
Often, in between the input and output
layer...
input
data
(x)
output
(y)
input layer output layer
The arrows are the
weights and the
inputs.
67
We have hidden layers.
68
We have hidden layers.
69
Job: transform inputs into something the
output layer can use
70
input
data
(x)
output
(y)
input layer output layerhidden layer
A neural network...
● Processes millions of any kind of data
● Learns the properties of that data
● Generalizes those properties to data it’s
never seen before
71
Recap
72
overfitting: when our function fits the data too closely
and can’t generalize
activation functions: let us to model non-linear functions
A neural network is made up of many neurons,
organized into layers. There are input, output, and hidden
layers.
Questions?
73
For questions, contact me at
nanni.naik(at)gmail.com or Github
@nnaik39.
74

Más contenido relacionado

La actualidad más candente

Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningRahul Jain
 
Machine learning basics
Machine learning basics Machine learning basics
Machine learning basics Akanksha Bali
 
Generating Natural-Language Text with Neural Networks
Generating Natural-Language Text with Neural NetworksGenerating Natural-Language Text with Neural Networks
Generating Natural-Language Text with Neural NetworksJonathan Mugan
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningRaveen Perera
 
Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?Marina Santini
 
Data Science, Machine Learning and Neural Networks
Data Science, Machine Learning and Neural NetworksData Science, Machine Learning and Neural Networks
Data Science, Machine Learning and Neural NetworksBICA Labs
 
Introduction to machine learning and model building using linear regression
Introduction to machine learning and model building using linear regressionIntroduction to machine learning and model building using linear regression
Introduction to machine learning and model building using linear regressionGirish Gore
 
Deep Learning With Python Tutorial | Edureka
Deep Learning With Python Tutorial | EdurekaDeep Learning With Python Tutorial | Edureka
Deep Learning With Python Tutorial | EdurekaEdureka!
 
Machine learning and big data
Machine learning and big dataMachine learning and big data
Machine learning and big dataPoo Kuan Hoong
 
Day 2 (Lecture 1): Introduction to Statistical Machine Learning and Applications
Day 2 (Lecture 1): Introduction to Statistical Machine Learning and ApplicationsDay 2 (Lecture 1): Introduction to Statistical Machine Learning and Applications
Day 2 (Lecture 1): Introduction to Statistical Machine Learning and ApplicationsAseda Owusua Addai-Deseh
 
Artificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep LearningArtificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep LearningSujit Pal
 
Machine Learning for Dummies (without mathematics)
Machine Learning for Dummies (without mathematics)Machine Learning for Dummies (without mathematics)
Machine Learning for Dummies (without mathematics)ActiveEon
 
ML DL AI DS BD - An Introduction
ML DL AI DS BD - An IntroductionML DL AI DS BD - An Introduction
ML DL AI DS BD - An IntroductionDony Riyanto
 
Machine learning with Big Data power point presentation
Machine learning with Big Data power point presentationMachine learning with Big Data power point presentation
Machine learning with Big Data power point presentationDavid Raj Kanthi
 
Machine learning_ Replicating Human Brain
Machine learning_ Replicating Human BrainMachine learning_ Replicating Human Brain
Machine learning_ Replicating Human BrainNishant Jain
 
Introduction to-machine-learning
Introduction to-machine-learningIntroduction to-machine-learning
Introduction to-machine-learningBabu Priyavrat
 

La actualidad más candente (20)

Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Machine learning basics
Machine learning basics Machine learning basics
Machine learning basics
 
Generating Natural-Language Text with Neural Networks
Generating Natural-Language Text with Neural NetworksGenerating Natural-Language Text with Neural Networks
Generating Natural-Language Text with Neural Networks
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?
 
Data Science, Machine Learning and Neural Networks
Data Science, Machine Learning and Neural NetworksData Science, Machine Learning and Neural Networks
Data Science, Machine Learning and Neural Networks
 
Machine learning
Machine learningMachine learning
Machine learning
 
Introduction to machine learning and model building using linear regression
Introduction to machine learning and model building using linear regressionIntroduction to machine learning and model building using linear regression
Introduction to machine learning and model building using linear regression
 
Deep Learning With Python Tutorial | Edureka
Deep Learning With Python Tutorial | EdurekaDeep Learning With Python Tutorial | Edureka
Deep Learning With Python Tutorial | Edureka
 
Machine learning and big data
Machine learning and big dataMachine learning and big data
Machine learning and big data
 
Day 2 (Lecture 1): Introduction to Statistical Machine Learning and Applications
Day 2 (Lecture 1): Introduction to Statistical Machine Learning and ApplicationsDay 2 (Lecture 1): Introduction to Statistical Machine Learning and Applications
Day 2 (Lecture 1): Introduction to Statistical Machine Learning and Applications
 
Artificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep LearningArtificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep Learning
 
Machine Learning for Dummies (without mathematics)
Machine Learning for Dummies (without mathematics)Machine Learning for Dummies (without mathematics)
Machine Learning for Dummies (without mathematics)
 
ML Basics
ML BasicsML Basics
ML Basics
 
ML DL AI DS BD - An Introduction
ML DL AI DS BD - An IntroductionML DL AI DS BD - An Introduction
ML DL AI DS BD - An Introduction
 
Machine learning with Big Data power point presentation
Machine learning with Big Data power point presentationMachine learning with Big Data power point presentation
Machine learning with Big Data power point presentation
 
Machine learning_ Replicating Human Brain
Machine learning_ Replicating Human BrainMachine learning_ Replicating Human Brain
Machine learning_ Replicating Human Brain
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Introduction to-machine-learning
Introduction to-machine-learningIntroduction to-machine-learning
Introduction to-machine-learning
 
Managing machine learning
Managing machine learningManaging machine learning
Managing machine learning
 

Similar a Introduction to Machine Learning

Practical AI class 1
Practical AI class 1Practical AI class 1
Practical AI class 1Oliver Zhang
 
Deep Learning Class #0 - You Can Do It
Deep Learning Class #0 - You Can Do ItDeep Learning Class #0 - You Can Do It
Deep Learning Class #0 - You Can Do ItHolberton School
 
DL Classe 0 - You can do it
DL Classe 0 - You can do itDL Classe 0 - You can do it
DL Classe 0 - You can do itGregory Renard
 
Computing Education as a Foundation for 21st Century Literacy
Computing Education as a Foundation for 21st Century LiteracyComputing Education as a Foundation for 21st Century Literacy
Computing Education as a Foundation for 21st Century LiteracyMark Guzdial
 
GDG-Start your Programing Career.pptx
GDG-Start your Programing Career.pptxGDG-Start your Programing Career.pptx
GDG-Start your Programing Career.pptxMohamed Essam
 
Algorithm Design and Complexity - Course 1&2
Algorithm Design and Complexity - Course 1&2Algorithm Design and Complexity - Course 1&2
Algorithm Design and Complexity - Course 1&2Traian Rebedea
 
Machine Learning Introduction
Machine Learning IntroductionMachine Learning Introduction
Machine Learning IntroductionYounesCharfaoui
 
A Reflection on my time as a grad
A Reflection on my time as a gradA Reflection on my time as a grad
A Reflection on my time as a gradLarry Jennings
 
A sample Lab report on a game.
A sample Lab report on a game. A sample Lab report on a game.
A sample Lab report on a game. Junayed Ahmed
 
课堂讲义(最后更新:2009-9-25)
课堂讲义(最后更新:2009-9-25)课堂讲义(最后更新:2009-9-25)
课堂讲义(最后更新:2009-9-25)butest
 
Unit 1 Introduction to Artificial Intelligence.pptx
Unit 1 Introduction to Artificial Intelligence.pptxUnit 1 Introduction to Artificial Intelligence.pptx
Unit 1 Introduction to Artificial Intelligence.pptxDr.M.Karthika parthasarathy
 
Chapter.ppt
Chapter.pptChapter.ppt
Chapter.pptRamyaD76
 
Dark Matter, Public Health, and Scientific Computing
Dark Matter, Public Health, and Scientific ComputingDark Matter, Public Health, and Scientific Computing
Dark Matter, Public Health, and Scientific ComputingGreg Wilson
 
[D2 COMMUNITY] Spark User Group - 머신러닝 인공지능 기법
[D2 COMMUNITY] Spark User Group - 머신러닝 인공지능 기법[D2 COMMUNITY] Spark User Group - 머신러닝 인공지능 기법
[D2 COMMUNITY] Spark User Group - 머신러닝 인공지능 기법NAVER D2
 

Similar a Introduction to Machine Learning (20)

Practical AI class 1
Practical AI class 1Practical AI class 1
Practical AI class 1
 
Deep Learning Class #0 - You Can Do It
Deep Learning Class #0 - You Can Do ItDeep Learning Class #0 - You Can Do It
Deep Learning Class #0 - You Can Do It
 
DL Classe 0 - You can do it
DL Classe 0 - You can do itDL Classe 0 - You can do it
DL Classe 0 - You can do it
 
Computing Education as a Foundation for 21st Century Literacy
Computing Education as a Foundation for 21st Century LiteracyComputing Education as a Foundation for 21st Century Literacy
Computing Education as a Foundation for 21st Century Literacy
 
GDG-Start your Programing Career.pptx
GDG-Start your Programing Career.pptxGDG-Start your Programing Career.pptx
GDG-Start your Programing Career.pptx
 
Algorithm Design and Complexity - Course 1&2
Algorithm Design and Complexity - Course 1&2Algorithm Design and Complexity - Course 1&2
Algorithm Design and Complexity - Course 1&2
 
Machine Learning Introduction
Machine Learning IntroductionMachine Learning Introduction
Machine Learning Introduction
 
A Reflection on my time as a grad
A Reflection on my time as a gradA Reflection on my time as a grad
A Reflection on my time as a grad
 
Year 1 AI.ppt
Year 1 AI.pptYear 1 AI.ppt
Year 1 AI.ppt
 
A sample Lab report on a game.
A sample Lab report on a game. A sample Lab report on a game.
A sample Lab report on a game.
 
课堂讲义(最后更新:2009-9-25)
课堂讲义(最后更新:2009-9-25)课堂讲义(最后更新:2009-9-25)
课堂讲义(最后更新:2009-9-25)
 
Unit 1 Introduction to Artificial Intelligence.pptx
Unit 1 Introduction to Artificial Intelligence.pptxUnit 1 Introduction to Artificial Intelligence.pptx
Unit 1 Introduction to Artificial Intelligence.pptx
 
Chapter13.ppt
Chapter13.pptChapter13.ppt
Chapter13.ppt
 
Chapter.ppt
Chapter.pptChapter.ppt
Chapter.ppt
 
Chapter13.ppt
Chapter13.pptChapter13.ppt
Chapter13.ppt
 
Chapter13.ppt
Chapter13.pptChapter13.ppt
Chapter13.ppt
 
Chapter13.ppt
Chapter13.pptChapter13.ppt
Chapter13.ppt
 
Chapter13.ppt
Chapter13.pptChapter13.ppt
Chapter13.ppt
 
Dark Matter, Public Health, and Scientific Computing
Dark Matter, Public Health, and Scientific ComputingDark Matter, Public Health, and Scientific Computing
Dark Matter, Public Health, and Scientific Computing
 
[D2 COMMUNITY] Spark User Group - 머신러닝 인공지능 기법
[D2 COMMUNITY] Spark User Group - 머신러닝 인공지능 기법[D2 COMMUNITY] Spark User Group - 머신러닝 인공지능 기법
[D2 COMMUNITY] Spark User Group - 머신러닝 인공지능 기법
 

Último

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 

Último (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Introduction to Machine Learning

Notas del editor

  1. Hi everyone! Welcome to Day 1! In this lecture, we’ll cover machine learning basics. Machine learning is based on fairly advanced mathematical concepts which we will not have time to cover in these two days. My goal today is to explain the basic concepts and the main terminology used by ML researchers. There will be times to ask questions at the end of concepts, and also times when I will ask you to provide an answer.
  2. Here is what you can expect to learn in this lecture.
  3. First let’s ask ourselves the question, “what can happen when art interacts with computers?” To answer this, let’s first look back on how art and technology have interacted in the past.
  4. This is the first photograph that was ever taken. It was taken by Joseph Niepce around 1826. This is the view from an upstairs window at his estate. Nowadays, photographs look more realistic and colorful and vibrant, like the ones in National Geographic. I imagine that when Joseph Niepce took this photograph, he could have never foreseen the many directions photography has taken art over the years. (Source: https://petapixel.com/2013/10/02/first-photo/)
  5. Then we get to digital art, which is a huge field today. Here we can see an example of photoshop, as this image has definitely been photoshopped like crazy! We see photoshop in our daily lives all the time, from magazine covers to advertisements to Instagram pictures. But, importantly, this is not machine intelligence. Why not? (Source: https://s-media-cache-ak0.pinimg.com/originals/c9/b8/c4/c9b8c4461b9b1c1dc2b8beb6cb9519c2.jpg)
  6. A human is doing the thinking. In that picture, there was a human figuring out where to pull his eyes out so they look buggy. The machine was just bending to the person’s will. Here, the machine is a tool. We’ll talk about when a machine is more than a tool, when it can actually make intelligent decisions.
  7. We’re talking about machine-generated art, which we will elaborate more on in the very near future. This field is very new and cutting-edge. Like the very first photograph ever taken that we just saw, we’re at the beginning of something here. So much is still left to discover. Let’s take a look at some examples of machine-generated art.
  8. Here is my face and here is a painting called “The Red List” by famous artist Georgia O’Keeffe. There’s something in art called a pastiche, which is a French word for an artistic work in a style that imitates that of another work, artist, or period. We’re going to make a pastiche, where we take the style of “The Red List” and apply it to my face. Source: http://theredlist.com/media/database/fine_arts/arthistory/painting/realism_figurative_painting/georgia-o-keefe/015-georgia-o-keefe-theredlist.jpg
  9. And here I am! I can convince my friends that I traveled back in time and got Georgia O’Keeffe to paint my portrait. The distinction here is that the computer does the thinking.
  10. Source: https://farm8.staticflickr.com/7294/8732030861_1a72dec272_b.jpg
  11. Imagine how hard it would be to PhotoShop this.
  12. And finally here is another example of “neural art”. Can you imagine how hard it might be to do this manually using photoshop?
  13. We’ve covered art-centered applications. What else can machine intelligence do? We’re going to focus on image-related applications.
  14. Source: https://research.googleblog.com/2017/06/supercharge-your-computer-vision-models.html
  15. http://cs.stanford.edu/people/karpathy/deepimagesent/
  16. As we can see, Machine Learning affects every aspect of our life!
  17. https://lh4.ggpht.com/vdK_CsMSsJoYvJpYgaj91fiJ1T8rnSHHbXL0Em378kQaaf_BGyvUek2aU9z2qbxJCAFV=w300
  18. (Source: http://assets.teenvogue.com/photos/579918989e016460296a15a2/master/pass/2%20-%20Ariana%20Grande.jpg) (http://static.boredpanda.com/blog/wp-content/uploads/2016/03/funny-snapchat-face-swaps-492__605.jpg)
  19. Let’s look at the basics of how this works. Snapchat’s algorithm isn’t available to the general public, but many newspapers have published articles on the high
  20. Source: https://petapixel.com/2016/06/30/snapchats-powerful-facial-recognition-technology-works/
  21. We’ll go more in depth later.
  22. To make a good decision, you need more information than this.
  23. Source: https://www.google.com/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&ved=0ahUKEwjf8cXzwpHVAhUC-GMKHZnLBUAQjBwIBA&url=http%3A%2F%2Fclipartsign.com%2Fdl.php%3Fd%3D1842&psig=AFQjCNFX3ELQAeMYAThepSCDNdqaoqCOcg&ust=1500422330517855
  24. Suppose you wanted a computer to make this decision for you. This would have to be machine intelligence, right? Decision-making
  25. This comes back to what we said earlier about machine learning being learning from data.
  26. Suppose I go around this room and ask nine of you: what’s your current grade? How many hours of homework do you have each night? Then I plot your answers on this graph. A nice assumption to make might be if you’re in a higher grade, you have more homework hours. But this is not always the case
  27. Suppose I go around this room and ask nine of you: what’s your current grade? How many hours of homework do you have each night? Then I plot your answers on this graph. A nice assumption to make might be if you’re in a higher grade, you have more homework hours. But this is not always the case
  28. Suppose I go around this room and ask nine of you: what’s your current grade? How many hours of homework do you have each night? Then I plot your answers on this graph. A nice assumption to make might be if you’re in a higher grade, you have more homework hours. But this is not always the case
  29. Suppose I go around this room and ask nine of you: what’s your current grade? How many hours of homework do you have each night? Then I plot your answers on this graph. A nice assumption to make might be if you’re in a higher grade, you have more homework hours. But this is not always the case
  30. Suppose I go around this room and ask nine of you: what’s your current grade? How many hours of homework do you have each night? Then I plot your answers on this graph. A nice assumption to make might be if you’re in a higher grade, you have more homework hours. But this is not always the case
  31. Suppose I go around this room and ask nine of you: what’s your current grade? How many hours of homework do you have each night? Then I plot your answers on this graph. A nice assumption to make might be if you’re in a higher grade, you have more homework hours. But this is not always the case
  32. Suppose I go around this room and ask nine of you: what’s your current grade? How many hours of homework do you have each night? Then I plot your answers on this graph. A nice assumption to make might be if you’re in a higher grade, you have more homework hours. But this is not always the case
  33. http://www.dreams.metroeve.com/wp-content/uploads/2017/06/Hill-dreams-meaning.jpg
  34. Here, instead of adjusting your height, you’re adjusting your weights. http://www.dreams.metroeve.com/wp-content/uploads/2017/06/Hill-dreams-meaning.jpg
  35. Getting a line allows you to generalize to data you’ve never seen before.
  36. Okay, now we’ll take a five-minute BREAK!
  37. Does not predict every data accurately. Why do we care about the line? If it’s not super accurate, then why do we care? The real value of machine learning is not telling us what we already know. The value is using it to predict stuff we want to know. You can generalize to points you’ve never seen before.
  38. Do you think this function makes a good prediction?
  39. This is a terrible function. There is something called Occam’s Razor, where the simplest explanation is usually the correct one.
  40. Here’s a simple model of a small neuron that does linear regression.
  41. Researchers have determined that this method works.
  42. We’re going to
  43. Now let’s talk about hidden layers.
  44. Each layer can apply any function you want to the previous layer to produce an output (usually a linear transformation followed by a squashing nonlinearity). The hidden layer's job is to transform the inputs into something that the output layer can use. The output layer transforms the hidden layer activations into whatever scale you wanted your output to be on.
  45. If you want a computer to tell you if there's a bus in a picture, the computer might have an easier time if it had the right tools. So your bus detector might be made of a wheel detector, a rectangle detector (since the bus is shaped like a rectangle) and a size detector (to tell you it's too big to be a car). These are the three elements of your hidden layer: they're not part of the raw image, they're tools you designed to help you identify busses. If all three of those detectors turn on (or perhaps if they're especially active), then there's a good chance you have a bus in front of you. Neural nets are useful because there are good tools (like backpropagation) for building lots of detectors and putting them together.
  46. So, zooming out, by being able to model any kind of function even if it is nonlinear, neural networks can… Pretty powerful tools.