Professional Documents
Culture Documents
Week1 Slides 20221004
Week1 Slides 20221004
Week-1
04.10.2022
mustafaumit.oner@eng.bau.edu.tr
x2
x1
0
2
x2 x2
x1 x1
0 0
3
x2 x2
x1 x1
0 0
4
x2 x2
x1 x1
0 0
{1 if x1 < 0
0 if x1 ≥ 0
square (y = 0) y=
circle (y = 1)
Linear Classifier
5
6
7
8
About me
Bahcesehir University (Jan 2022)
Artificial Intelligence Engineering
National University of Singapore (Aug 2017 - Dec 2021)
Ph.D. in Computer Science
Thesis: Novel Multiple Instance Learning Models for Digital
Histopathology
Thesis Advisors: Hwee Kuan Lee and Wing-Kin Sung
Middle East Technical University (Sep 2013 - Sep 2016)
M.S. in Electrical and Electronics Engineering
Thesis: Metastasis Detection and Localization in Lymph Nodes by
Using Convolutional Neural Networks
Thesis Advisor: Uğur Halıcı
Middle East Technical University (Sep 2008 - Jun 2013)
B.S. in Electrical and Electronics Engineering
B.S. in Industrial Engineering - Double Major
My research
Genomics Transcriptomics Proteomics Pathology
Omics (DNA) (RNA) (Protein) (Cell)
analysis
10
My research
Genomics Transcriptomics Proteomics Pathology
Omics (DNA) (RNA) (Protein) (Cell)
analysis
11
About you
Tell a little about yourself
12
Why is AI so popular?
Why is AI so popular?
• It has become a primary tool for many tasks in different domains
• computer vision • machine translation
• pattern recognition • bioinformatics
• natural language processing • game playing
14
https://www.fda.gov/news-events/press-announcements/ https://www.paige.ai/news/news-press-release1/ 15
fda-authorizes-software-can-help-identify-prostate-cancer https://www.nature.com/articles/s41591-019-0508-1
Facebook Detectron
https://research.facebook.com/downloads/detectron/ 16
https://github.com/facebookresearch/Detectron
17
DeepMind AlphaFold
https://www.nature.com/articles/s41586-021-03819-2 https://youtu.be/KpedmJdrTpY 19
https://deepmind.com/research/case-studies/alphafold https://deepmind.com/blog/article/AlphaFold-Using-AI-for-
https://www.nvidia.com/en-us/research/ai-art-gallery/artists/ 20
refik-anadol/
https://youtu.be/6U-bI3On1Ww 21
What is (artificial) intelligence?
23
Closest Words in GloVe Embedding
https://www.cs.toronto.edu/~lczhang/360/lec/w05/w2v.html 24
25
Aim:
A - player X
to fool C
C - interrogator
Aim:
A - player X
to fool C
C - interrogator
Aim:
A - player X
to fool C
C - interrogator
https://images.newscientist.com/wp-content/uploads/2017/01/04171935/gettyimages-5153584581.jpg
Alan Turing
Computing
machinery
Ada Lovelace and
The world’s first intelligence
computer
programmer
A statue of
Aristotle
http://aima.cs.berkeley.edu/cover.jpg 32
Alan Turing
Computing
machinery
Ada Lovelace and
The world’s first intelligence
computer
programmer
A statue of
Aristotle
http://aima.cs.berkeley.edu/cover.jpg 33
Alan Turing
Computing
machinery
Ada Lovelace and
The world’s first intelligence
computer
programmer
A statue of
Aristotle
http://aima.cs.berkeley.edu/cover.jpg 34
A statue of
Aristotle
http://aima.cs.berkeley.edu/cover.jpg 35
http://aima.cs.berkeley.edu/cover.jpg 36
Y. LeCun
https://drive.google.com/file/d/1vVNUye-1JNJnqP4A0704sjtF7gs_MpCI/edit 37
https://youtu.be/mTtDfKgLm54
Y. LeCun
More History
1970s: statistical patter recognition (Duda & Hart 1973)
1979: Kunihiko Fukushima, Neocognitron
1982: Hopfield Networks
1983: Hinton & Sejnowski, Boltzmann Machines
1985/1986: Practical Backpropagation for neural net training
1989: Convolutional Networks
1991: Bottou & Gallinari, module-based automatic differentiation
1995: Hochreiter & Schmidhuber, LSTM recurrent net.
1996: structured prediction with neural nets, graph transformer nets
…..
2003: Yoshua Bengio, neural language model
2006: Layer-wise unsupervised pre-training of deep networks
2010: Collobert & Weston, self-supervised neural nets in NLP
https://drive.google.com/file/d/1vVNUye-1JNJnqP4A0704sjtF7gs_MpCI/edit 38
https://youtu.be/mTtDfKgLm54
Y. LeCun
More History
2012: AlexNet / convnet on GPU / object classification
2015: I. Sutskever, neural machine translation with multilayer LSTM
2015: Weston, Chopra, Bordes: Memory Networks
2016: Bahdanau, Cho, Bengio: GRU, attention mechanism
2016: Kaiming He, ResNet
https://drive.google.com/file/d/1vVNUye-1JNJnqP4A0704sjtF7gs_MpCI/edit 39
https://youtu.be/mTtDfKgLm54
Machine
Learning
Deep
Learning
40
Artificial Intelligence, Machine Learning and Deep Learning
Artificial
Intelligence
Machine
Learning
Deep
Learning
Machine Learning
41
AIN2001
Principles of Artificial Intelligence
43
44
45
46
47
48
Course Structure
• Learning foundations
• covering pointed out resources before the class
• discussions during the class
• quizzes after the class
49
https://static01.nyt.com/images/2017/11/26/business/26ViewArt/26ViewArt-jumbo.jpg?quality=75&auto=webp
50
Course Content
Week Topics
A review of AI concepts
1
Rational agents
Solving problems by searching
2
• Search algorithms (uniformed and informed)
Solving problems by searching
3
• Constraint satisfaction problems
Games
4 • Adversarial search
• Game theory
Logical agents
5 • Propositional logic
• First order logic and inference
6 Planning
Probabilistic reasoning
7 • Basic probability concepts
• Inference using joint distributions
Probabilistic reasoning
8 • Naïve Bayes’ model
• Bayesian networks
51
Course Content
Week Topics
9 Machine learning
10 Neural networks
Deep learning
11
• Convolutional neural networks
Deep learning
12
• Recurrent neural networks
13 Reinforcement learning
14 AI, ethics, and society
52
Resources
Textbook Artificial Intelligence: A The Deep Learning textbook is a resource intended to help
Modern Approach (Stuart students and practitioners enter the field of machine learning
Russell and Peter in general and deep learning in particular.
Norwig, 2021)
Lecture MIT 6.034 Artifficial Lecture of Patrick Henry Winston from MIT
Intelligence
Lecture Berkeley CS188 Intro to Lecture of Igor Mordatch and Peyrin Kao from Berkeley
Artificial Intelligence
53
Grading
Item Weight (%)
Weekly Quizzes 24
Programming Assignments 16
Midterm Exam 20
Final Exam 40
Contribution Bonus 5 [bonus]
F/E Those who do not know what they are doing. Their
results are unreasonable
D/C Those who know how to get some good results but
cannot explain them.
54
Academic Integrity
• Academic integrity is a serious matter in this course. Any
violation will be reported to the university’s highest levels
and maximum punishment will be argued for.
• You are encouraged to form study groups to discuss quizzes
and programming assignments. However, you
• must write down your own solutions without referring to the
notes taken during discussions
• DO NOT copy, refer to or look at written solutions and code
from another student or any other sources.
• DO NOT post your solutions and code online.
• must write down the names of your collaborators in your
submissions.
• You are expected to comply with the University Policy on
Academic Integrity and Plagiarism. If you have any questions
about this policy and any work you are doing in the course,
please feel free to contact your instructor for help.
55
Attendance
• You must attend at least 10 out of 14 classes. Otherwise, you
will get an “NA” and will NOT be allowed to take the final exam.
56
Weekly Quizzes
• There will be 14 weekly quizzes, weighted equally.
• Your best 12 out of 14 quizzes will be retained.
• Quizzes will generally (but not always) be released on Friday and
due 72 hours later.
• Each quiz may cover the topics of previous weeks and the next
week.
• Quizzes may contain multiple-choice questions, True/False
questions, written questions, or programming questions. If there
are any written questions, solutions must be in PDF format and
typeset in LaTeX.
• Online editors such as Overleaf may be helpful in writing
solutions: https://www.overleaf.com
• A quick tutorial: Learn LaTeX in 30 minutes
57
Programming Assignments
• There will be four programming assignments, weighted equally.
• Programming parts will be auto graded using scripts. You must
follow the submission guidelines; otherwise, you may get zero.
• Programming assignments may also include written parts.
Solutions to these parts must be in PDF format and typeset in
LaTeX.
• Selected solutions will be invited to present in the class.
58
Exams
• Midterm Exam
• There will be one midterm exam covering all subjects in the first
8 weeks. It will be given face to face in the classroom during
Week-9.
• Final Exam
• There will be one final exam covering all subjects. It will be
given face to face in the classroom during final exams. A
student with “NA” will NOT be allowed to take the final
exam.
59
Contribution Bonus
• Attending the lectures and contributing to the discussions will be
awarded a 5% bonus.
• The bonus will be prorated based on the number of weeks a
student contributed to the lecture.
• The followings during a lecture are accepted as a contribution:
• Asking at least one question
• Commenting on a subject at least once
• Please indicate your contribution in ItsLearning
60
Late Submission
• You are given a total of 7 free late (calendar) days. You can use
your late days in quizzes and programming assignments.
• Each late day is bound to only one assignment.
• If you submit one quiz and one programming assignment 3
hours after the deadline, you will be charged for 2 late days.
• Once you run out of late days, your late submissions will be
penalized 20% per late day.
• However, submissions will NOT be accepted more than 3
days after the deadline.
61
To Do
Coming Deadlines
• First quiz will be released on Friday (07.10.2022) and due on
10.10.2022 @23.59
62