ML Lecture # 01 Introduction To ML
ML Lecture # 01 Introduction To ML
MACHINE LEARNING
• Prerequisite
• Class policy
• Grading Policy
• Recommended Books
3
What is Machine Learning?
4
Examples
5
6
7
8
9
10
11
12
13
14
15
What is Machine Learning?
16
What is Machine Learning?
18
Types of Machine Learning
19
20
Supervised Learning
22
Regression: Housing Price Prediction
23
Regression: Housing Price Prediction
24
Regression: Housing Price Prediction
25
Supervised Learning
• Given
• Data set of houses
• For each house, given correct size and price
• Objective
• For an unseen size of the house, what is the price?
• Also called a “Regression Problem”
• Predict continuous valued output (Price)
30
Question
• You are running a company, and you want to develop learning
algorithm to address each of two problems
1. You have a large inventory of identical items. You want to
predict how many of these items will sell over the next 3
months.
2. You’d like software to examine individual customer
accounts, and for each account decide if it has been
hacked/compromised.
• Should you treat these as classification or as regression
problems?
31
32
Unsupervised Learning
33
Iris unlabelled dataset
34
Unsupervised Learning
Supervised learning learn from data labeled with the “right answers”
35
Unsupervised Learning
37
Unsupervised Learning
41
Astronomical Data Analysis - Clustering
42
Social Network Analysis - Clustering
43
Unsupervised Learning - Clustering
47
Reinforcement Learning :: Introduction
48
Reinforcement Learning :: Introduction
49
Reinforcement Learning :: Introduction
50
Application of Reinforcement Learning
51
Application of Reinforcement Learning
• Self Driving Car (Autonomous Driving)
52
Application of Reinforcement Learning
• Industry Automation (Industry Optimization)
53
Application of Reinforcement Learning
• Stock (Financial) Trading
54
Application of Reinforcement Learning
• Playing Games
55
Prerequisite
56
Tools
• Python
• Install Jupyter Notebook
57
Class Policy
• Attendance, as per the university policy.
• IF Attendance < 75% THEN SET Allow In Exam = FALSE.
• No relaxation.
• No mobile phones!!!
58
Grading Policy
• Sessional = 25%
• Assignments
• Quizzes
• Class Attendance
• Presentations/Semester Project etc.
59
Acknowledgment
• Material presented in these lecture slides is obtained from Prof. Dr.
Andrew Ng course on Machine Learning
• Dr. Iftikhar Ahmad’s lecture slides were consulted for assistance.
• .
60