Aykut Erdem // Hacettepe University // Fall 2019
Lecture 1:
Course outline and logistics An overview of Machine Learning
Illustration: Tom Gauld
BBM406 Fundamentals of Machine Learning Lecture 1: Course outline - - PowerPoint PPT Presentation
Illustration: Tom Gauld BBM406 Fundamentals of Machine Learning Lecture 1: Course outline and logistics An overview of Machine Learning Aykut Erdem // Hacettepe University // Fall 2019 Todays Schedule Course outline and logistics
Aykut Erdem // Hacettepe University // Fall 2019
Lecture 1:
Course outline and logistics An overview of Machine Learning
Illustration: Tom Gauld
2
Aykut ERDEM aykut@cs.hacettepe.edu.tr
Burcak Asal basal@cs.hacettepe.edu.tr
Fri 09:00 - 10:50_D4
4
machine learning (ML)
⎯ A broad overview of many concepts and algorithms in ML.
⎯ Basic algorithms, data structures. ⎯ Basic probability and statistics. ⎯ Basic linear algebra and calculus ⎯ Good programming skills
Practicum
⎯ Students will gain skills to apply the concepts to real
world problems.
5
vector/matrix manipulations, partial derivatives common distributions, Bayes rule, mean/median/model
http://web.cs.hacettepe.edu.tr/ ~aykut/classes/fall2019/ bbm406/
updated regularly throughout the semester with lecture notes, programming and reading assignments and important deadlines.
6
discussions and announcements. Please enroll the class on Piazza by following the link http://piazza.com/class#fall2019/bbm406
available), 2017
Press, 2012 (online version available)
7
⎯ course project (done in groups of 2-3 students) (30%),
⎯ midterm exam (30%), ⎯ final exam (35%), and ⎯ class participation (5%)
⎯ a set of quizzes (20%), and
⎯ 3 assignments (done individually)
8
given real-world problem
9
10
specific theme) and explore ways to solve the problem
video presentation (7.5%) (Jan 8-10)
11
12
BBM 406 Class Project - Final Report Cem G¨ ung¨13
Predicting the Location of a Photograph Ali Yunus Emre ¨ OZK ¨ OSE Hacettepe University ANKARA, TURKEY aliozkose@hacettepe.edu.tr Tarık Ayberk YILIKO ˘ GLU Hacettepe University ANKARA, TURKEY tarikyilikoglu@hacettepe.edu.tr Abstract In this paper, we addressed to prediction of an image lo- cation problem. It is still a hard problem because of several kinds of other problems. We use convolutional neural net- works (CNNs) to tackle this problem. We collect data from Flickr[13], create a dataset which we call Turkey15 and test with basic algorithms. After testing the dataset, we train AlexNet and ResNet-18 with Turkey15 from scratch. Since Turkey15 is very small, we use transfer learning to improve14
Country Classification Using House Photos Meltem TOKGOZ Hacettepe University 21527381 meltemtokgoz@hacettepe.edu.tr Enes Furkan CIGDEM Hacettepe University 21526877 enescigdem@hacettepe.edu.tr Asma AIOUEZ Hacettepe University 21504074 asma.aiouvez@hacettepe.edu.tr Abstract Home designs vary from country to country and when we talk about housing, we should refer to both modern and traditional styles. You can come across a picture of a house taken by someone anywhere in the world and you may won- der where it has been taken from. In this project, we tried to find out which country the photo of a house was takencourse project, however, can be done in groups of 2-3.
the given assignments, but these discussions should be carried out in an abstract way.
part, as your own will be considered as a violation of academic integrity.
material found on the web as everything on the web has been written by someone else.
15
http://www.plagiarism.org/plagiarism-101/prevention/
Overview of Machine Learning, Nearest Neighbor Classifier
Linear Regression, Least Squares
Machine Learning Methodology
Statistical Estimation: MLE, MAP , Naïve Bayes Classifier
Linear Classification Models: Logistic Regression, Linear Discriminant Functions, Perceptron
Neural Networks
Deep Learning
16
Assg1 out Course project proposal due Assg2 due Assg1 due Assg2 out
Midterm Exam
Support Vector Machines (SVMs)
Multi-class SVM, Kernels, Support Vector Regression
Decision Tree Learning, Ensemble Methods: Bagging, Random Forests, Boosting
Clustering: K-Means Clustering, Spectral Clustering, Agglomerative Clustering
Dimensionality Reduction: PCA, SVD, ICA, Autoencoders
Course Wrap-up, Project Presentations
17
Project progress report due Assg3 due Final project report due Assg3 out
would you start studying heavily? –Answer: Machine Learning. –“The ultimate is computers that learn”
–Bill Gates, Reddit AMA
–Jerry Yang, Co-founder, Yahoo
industries; AI will now do the same.”
–Andrew Ng
19
slide by David Sontag
20
2015 Edition
2016 Edition
2017 Edition
(1) Learning is the acquisition of knowledge about the world. Kupfermann (1985) (2) Learning is an adaptive change in behavior caused by experience. Shepherd (1988)
24
slide by Bernhard Schölkopf
(observations, measurements)
25
slide by Bernhard Schölkopf
(observations, measurements)
26
slide by Bernhard Schölkopf
y
× × × × ×
x
(observations, measurements)
27
slide by Bernhard Schölkopf
y
× × × × ×
y = a * x x
(observations, measurements)
28
slide by Bernhard Schölkopf
x y
× × × × ×
y = a * x
Leibniz, Weyl, Chaitin
× × × ×
(observations, measurements)
29
slide by Bernhard Schölkopf
x y
× × × × ×
y = ∑i ai k(x, xi)+b
Leibniz, Weyl, Chaitin
× × × ×
30
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
52
"The brain is nothing but a statistical decision organ"
slide by Bernhard Schölkopf
53
X
slide by Bernhard Schölkopf
X
slide by Bernhard Schölkopf
slide by Bernhard Schölkopf
reflected light = illumination * reflectance
58
slide by Bernhard Schölkopf
59
slide by Bernhard Schölkopf
— consider many factors simultaneously to find regularity — nonlinear; nonstationary, etc. — e.g. no mechanistic models for the data — processing requires computers and automatic inference methods
61
slide by Yaser Abu-Mostapha
62
slide by Yaser Abu-Mostapha
63
64
65
slide by Dhruv Batra
66
Computer Data Program Output Computer Data Output Program
slide by Pedro Domingos, Tom Mitchel, Tom Dietterich
67
Computer Data Program Output Computer Data Output Program
slide by Pedro Domingos, Tom Mitchel, Tom Dietterich
68
Data Understanding Machine Learning
slide by Dhruv Batra
Why Study Machine Learning?
Engineering Better Computing Systems
blockers to magnesium)
69
slide by Dhruv Batra
Why Study Machine Learning?
Cognitive Science
us understand learning in humans
70
slide by Dhruv Batra
Why Study Machine Learning?
The Time is Ripe
available.
available.
71
slide by Ray Mooney
Where does ML fit in?
72
slide by Fei Sha
73
slide by Dhruv Batra
1956
74
adopted from Dhruv Batra
75
Image credit: Neşeli Günler (Arzu Film,1978)
[132, 204, 158]
76
Image Credit: Liang Huangslide by Liang Huang
77
Image Credit: Liang Huangslide by Liang Huang
78
Image Credit: Liang Huangslide by Liang Huang
power
models
79
Figure Credit: Banko & Brill, 2011
Accuracy
Better
Amount of Training Data
slide by Dhruv Batra