Intro
Intro
FALL 2023-2024
Prepeared by Assoc. Prof. Yusuf Yaslan & Assoc. Prof. Ayşe Tosun
INTRODUCTION
What is machine learning?
• Learning or inferring a functional relationship between a set of
attributes/features and associated response/output/target variables
so that we can predict the response for any set of the attributes. [Rogers
and Girolami, A First Course in Machine Learning]
• Machine learning is programming computers to optimize a
performance criterion using example data or past experience. [Alpaydin,
Introduction to Machine Learning]
• The goal of machine learning is to develop methods that can
automatically detect patterns in data, and then to use the uncovered
patterns to predict future data or other outcomes of interest. [Murphy,
Machine Learning]
When is learning used?
• Learning is used when:
• Human expertise does not exist (navigating on Mars),
• Humans are unable to explain their expertise (speech recognition)
• Solution changes in time (routing on a computer network)
• Solution needs to be adapted to particular cases (user biometrics)
• The problem size is too vast for our limited reasoning capabilities (calculating
webpage ranks)
Test images
ORL dataset,
AT&T Laboratories, Cambridge UK
Lecture Notes for E Alpaydın 2010 Introduction to Machine
10
Learning 2e © The MIT Press (V1.0)
Regression
• Example: Price of a used car
• x : car attributes
y = wx+w0
y : price
y = g (x | θ )
g ( ) model,
θ parameters
11
Lecture Notes for E Alpaydın 2010 Introduction to Machine Learning 2e © The MIT Press (V1.0)
Regression Applications
• Navigating a car: Angle of the steering
• Kinematics of a robot arm
α1
22
Resources: Reference Books
• S. Rogers and M. Girolami, A First Course in Machine Learning,
Chapman & Hall.
• P. Flach, The Art and Science of Algorithms that Make Sense of Data,
Cambridge University Press.
• E. Alpaydin, Introduction to Machine Learning, MIT Press.
• J. Watt, R. Borhani, A. K. Katsaggelos, Machine Learning Refined, 2nd
Edition, Cambridge University Press.
• M. P. Deisenroth, A. A. Faisal, and C. S. Ong, Mathematics for Machine
Learning, Cambridge University Press.
Resources: Lectures
Yaser S. Abu-Mostafa: http://work.caltech.edu/telecourse.htm
Andrew Ng:http://www.academicearth.org/courses/machine-learning
http://see.stanford.edu/see/lecturelist.aspx?coll=348ca38a-3a6d-4052-937d-cb017338d7b1
Gilbert Strang, Matrix Methods in Data Analysis, Signal Processing, and Machine Learning (Spring 2018) – Youtube.
HANDOUT Tentative
Week Date Topic Assignments/Exams
1 15.02.2024 Introduction Read
mathematical preliminaries & https://homepages.inf.ed.ac
.uk/sgwater/teaching/gener
Supervised Learning al/probability.pdf
Grading 2 22.02.2024 Linear Regression
Maximum Likelihood Estimation
Homeworks: 30% 3 29.02.2024 Maximum Likelihood Estimation Bayesian Decision Theory HW1 (MLE, MAP) announced
Term Project announced
(There will be 3 HWs)
Term Project: 20% 4 07.03.2024 Parametric Methods
Will be a group Project with at most 5 14.03.2024 Multivariate Methods
2-3 members 6 21.03.2024 Dimensionality Reduction
(Report and Source Codes) (PCA, LDA, Factor Analysis)
Midterm 25 % 7 28.03.2024 Clustering HW2 (PCA, LDA) announced
Final exam: 25% (K-Means, Hierarchical)