Module 1 Topic-1-ML Introduction
Module 1 Topic-1-ML Introduction
IIT Madras
INTRODUCTION
1 ML vs Traditional Programming
2 Machine Learning
3 Summary
1 ML vs Traditional Programming
2 Machine Learning
3 Summary
ML vs Traditional Programming
Let’s take a couple of tasks and try to write programs to solve each
of them:
• Task 1: Adding two numbers:
12 + 45 = ?
ML vs Traditional Programming
Let’s take a couple of tasks and try to write programs to solve each
of them:
• Task 1: Adding two numbers:
12 + 45 = ?
ML vs Traditional Programming
ML vs Traditional Programming
Image Source:uff.br
Adding Numbers
12 + 45 = 57
• Trivial for any decent programmer.
Adding Numbers
12 + 45 = 57
• Trivial for any decent programmer.
Recognise a digit
Recognise a digit
Recognise a digit
Recognise a digit
What makes the first task trivial and the second one tricky to
program?
• Mathematical function for addition of two numbers,
c = a + b, is already available!
• In case of the second task of handwritten digit recognition, we
do not have an exact mathematical function that takes an
image as an input and outputs the recognized digit.
• With ML, we hope to uncover the mathematical form that
maps images to the digits.
What makes the first task trivial and the second one tricky to
program?
• Mathematical function for addition of two numbers,
c = a + b, is already available!
• In case of the second task of handwritten digit recognition, we
do not have an exact mathematical function that takes an
image as an input and outputs the recognized digit.
• With ML, we hope to uncover the mathematical form that
maps images to the digits.
What makes the first task trivial and the second one tricky to
program?
• Mathematical function for addition of two numbers,
c = a + b, is already available!
• In case of the second task of handwritten digit recognition, we
do not have an exact mathematical function that takes an
image as an input and outputs the recognized digit.
• With ML, we hope to uncover the mathematical form that
maps images to the digits.
What makes the first task trivial and the second one tricky to
program?
• Mathematical function for addition of two numbers,
c = a + b, is already available!
• In case of the second task of handwritten digit recognition, we
do not have an exact mathematical function that takes an
image as an input and outputs the recognized digit.
• With ML, we hope to uncover the mathematical form that
maps images to the digits.
1 ML vs Traditional Programming
2 Machine Learning
3 Summary
Training Data
• Weights parameters: w0 , w1 , w2 , . . . , wm
• Our job is to find these parameters. How can we do it?
• Weights parameters: w0 , w1 , w2 , . . . , wm
• Our job is to find these parameters. How can we do it?
• Weights parameters: w0 , w1 , w2 , . . . , wm
• Our job is to find these parameters. How can we do it?
• Weights parameters: w0 , w1 , w2 , . . . , wm
• Our job is to find these parameters. How can we do it?
• Weights parameters: w0 , w1 , w2 , . . . , wm
• Our job is to find these parameters. How can we do it?
Evaluation
Evaluation
Evaluation
Evaluation
Fundamental Assumption
Fundamental Assumption
1 ML vs Traditional Programming
2 Machine Learning
3 Summary
Summary
Input Data
Traditional Output/Results
Model/Function Programming
Input Data
Machine Model/Function
Output/Results Learning
Summary
Input Data
Traditional Output/Results
Model/Function Programming
Input Data
Machine Model/Function
Output/Results Learning