EE514 Machine Learning Course - Introduction
EE514 Machine Learning Course - Introduction
EE514 – CS535
Overview
Zubair Khalid
https://www.zubairkhalid.org/ee514_2021.html
Zoom Policies
- Please use Zoom ‘raise hand’ feature if you have any questions.
- You will be asked to unmute yourself so that you can ask questions or provide
your response.
- Please keep your microphone mute at all other times.
- We do not require you to turn-on your video.
- You can also post questions in the Chat. We may respond to the questions
offline.
Zoom sessions will be recorded for offline viewing. Please let us know if you have
any issues due to the privacy concerns.
About us!
Course Objectives:
• To provide a thorough introduction to ML methods
• To build mathematical foundations of ML and provide an appreciation for its
applications
• To provide experience in the implementation and evaluation of ML algorithms
• To develop research interest in the theory and application of ML
Is this course a right choice for you?
Undergraduate students
- Interested in pursuing AI, Deep Learning and/or Machine Learning in their
grad school
- Interesting in pursuing a professional career focused on the development of
Machine Learning solutions
Graduate students
- Want to do fundamental research in the area of Machine Learning
- Wish to apply Machine Learning in their research work
Course Prerequisites
Undergraduate students
- Linear Algebra (MATH120)
- Probability (MATH230, DISC203, CS501)
- Programming (CS200, EE201)
Graduate students
- Encouraged to revise Linear Algebra and Probability concepts (on-the-fly)
We expect all the students to have good programming skills (in C/Python/MATLAB)
Note on Assignment 0!
Learning Interface
Delivery of Content:
Mode: Hybrid (Asynchronous/synchronous)
Lectures:
- Pre-recorded (uploaded on YouTube)
- Lectures for the week will be uploaded by Wednesday
Utilization of Lecture-slots:
- Tutorial in the Friday slot (@3:30 PM)
- Quiz (15-20 minutes)
Learning Interface
Communication:
Course Page: https://www.zubairkhalid.org/ee514_2021.html
Zoom: Same link for office hours, live sessions, meetings
Slack: Course-related questions or discussions. We will try to respond to the queries ASAP.
Office Hours: Posted on course page; distributed throughout the week
Email Policy:
Subject:
- ‘ML-URGENT-Assignment Clarification’
- ‘ML-NOT URGENT-Extend Assignment deadline’
Please do not flood my inbox to verify whether I have received your submission in
LMS or the submission is late due to last-minute connectivity issues.
Grading Distribution
• Plagiarism will be strictly dealt with as per university policies (take it seriously).
• Re-grading can be requested after grade reporting, within the following time
limits:
- HW and Assignments: 2 days
- Final Exam: 3 days
Course Polices
Harassment Policy
Harassment of any kind is unacceptable, whether it be sexual harassment, online harassment, bullying,
coercion, stalking, verbal or physical abuse of any kind. Harassment is a very broad term; it includes both direct
and indirect behaviour, it may be physical or psychological in nature, it may be perpetrated online or offline, on
campus and off campus. It may be one offense, or it may comprise of several incidents which together amount
to sexual harassment. It may include overt requests for sexual favours but can also constitute verbal or written
communication of a loaded nature. Further details of what may constitute harassment may be found in the
LUMS Sexual Harassment Policy, which is available as part of the university code of conduct.
LUMS has a Sexual Harassment Policy and a Sexual Harassment Inquiry Committee (SHIC). Any member of the
LUMS community can file a formal or informal complaint with the SHIC. If you are unsure about the process of
filing a complaint, wish to discuss your options or have any questions, concerns, or complaints, please write to
the Office of Accessibility and Inclusion (OAI, [email protected]) and SHIC ([email protected]) —both of them
exist to help and support you and they will do their best to assist you in whatever way they can.
SSE’s Council on Equity and Belonging is committed to devising ways to provide a safe, inclusive, and respectful
learning, living, and working environment for its students, faculty, and staff.
For help related to any such issue, please feel free to write to any member of the school council for help or
feedback.
You are welcome to write to me or speak to me if you find that your mental health is impacting your ability to
participate in the course. However, should you choose not to do so, please contact the Counselling Unit and
speak to a counsellor or speak to the OSA team and ask them to write to me so that any necessary
accommodations can be made.
Modules
Weeks: 1,2
Components:
• Programming Assignment 1: Intro to Python, Setting up Environment
Modules
Classification
KNN
Evaluation Metrics, Curse of Dimensionality
Weeks: 3,4
Components:
• Programming Assignment 2: KNN based (Using Images)
• Homework 1A
Modules
Linear Regression
Gradient Descent
Multi-variate Regression
Weeks: 4,5
Components:
• Programming Assignment 3: Regression
• Homework 1B
Modules
Logistic Regression
4 - Logistic
Regression
Weeks: 6
Components:
• Programming Assignment 4: Logistic Regression
Modules
Bayes Theorem
Naive Bayes Classification
5 – Bayesian
Framework
Weeks: 7,8
Components:
• Programming Assignment 5: Naïve Bayes Classifier
(may be merged with Assignment 4)
• Homework 2
Modules
Perceptron Algorithm
SVM
Neural Networks
6 – Perceptron,
SVM and Neural
Network
Components:
• Programming Assignment 6: Neural Networks
• Homework 3
Modules
Unsupervised Learning Overview
Clustering (k-means)
7 – Clustering
Weeks: 13,14
Components:
• Homework 3
Suggested Reference Books
• Medical Diagnosis
• Autonomous Driving
• Information extraction
• Computer/Machine Vision
• Finance
• Web Search
• Robotics
• Social networks
• Production Industry
• Logistics
• Waste Management
• [Your research/favorite area]
Face Recognition: Demo
Machine Learning: Overview
What is Machine Learning?
- Study, Design and Analysis of algorithms that improve their
performance at some task with experience
Data
Model
Algorithm f ( x)
Final output which
enables us to make
Given to us We need to design it predictions
Machine Learning: Overview
Nature of ML Problems
1. Supervised Learning
The learning algorithm would receive a set of inputs along with the corresponding correct
outputs to train a model
Training Data
All labeled
Model Prediction
data
Labeled
+ Data Modeling and
Model Augmentation
unlabeled
Data
Use labeled data to Place unlabeled data Use the model to label Fit the model again
build a model with model the unlabeled data with the combined data
Machine Learning: Overview
Typical Flow
f ( x)
Model Model
Deployment Validation
Machine Learning: Overview
Training Data Collection
x Process or System y
Input
Observed Output
PROCESS or SYSTEM : Underlying physical or logical phenomenon which maps our input data to our observed output
• Previous Sales
• Prices Future
Process or System
• Inflation sales
• Pandemic
Market
Consumer segmentation based
Transaction Process or System on consumers’
Data spending patterns
• Income
• Credit History
Process or System Loan Approval
• Employment
• Marital Status
Machine Learning: Overview
Data Types
Tabulated Data
• Each column is a feature and adds one dimension to the data
• Number of columns define total number of features and hence data dimensionality
• Ideally, these columns should contain different information -> uncorrelated
Machine Learning: Overview
Data Types
Feature 2 Feature 2
Feature 1 Feature 1
Features are correlated Features are uncorrelated
Dimensionality Reduction
Find all those dimensions (features) which carry very less information and discard them
Machine Learning: Overview
Data Types
Images
Heterogeneous data
+
About the Instructor
• Assistant Professor, LUMS since 2015
• Post-doctorate – 2013-2015, Australian National University (ANU)
• PhD, Australian National University (ANU) - 2013
Affiliations:
• Signal, Image and Video Processing Lab, LUMS
• Applied Signal Processing Group, ANU
• Smart Data, Systems and Applications Lab (www.sdsa.lums.edu.pk)
Service: Senior Member IEEE and Associate Editor, IEEE Signal Processing Letters
Feedback: Questions or Comments?
Email: [email protected]