Chapter 1 Introduction
Chapter 1 Introduction
Chapter 1 Introduction
Dr. Minhhuy Le
EEE, Phenikaa University
Chapter 1: Course info & programming review
1. Course introduction and grades
2. History of Deep Learning
3. Deep learning applications
4. Materials
1. Course introduction and grades
Course introduction
Học phần “Học sâu” cung cấp những kiến thức cốt lõi của công nghệ học sâu, bao gồm:
môhì nh mạng nơ ron truyền thẳng; các kỹ thuật tổng quát hoávàtối ưu hóa các mô
hình; mở rộng môhình để làm việc với dữ liệu lớn; mạng CNN, RNN. Khóa học này
trang bị các kỹ năng liên quan đến việc thiết kế, xây dựng vàlập trì
nh môhình học sâu.
Học phần cũng trang bị kiến thức cần thiết để học viên cóthể sử dụng thư viện học sâu
như Tensorflow để xây dựng một số ứng dụng cơ bản của công nghệ học sâu.
Outcome requirements
• Phân tí ch được các kiến thức về môhì nh mạng nơ ron truyền thẳng, các kỹ thuật
tổng quát hoávàtối ưu hóa môhì nh, môhình học sâu CNN, RNN.
• Thiết kế được các môhì nh học sâu CNN, RNN trong các bài toán thực tế với dữ
liệu ảnh vàdữ liệu chuỗi.
References
• Raschka, Sebastian (2019), Python Machine Learning :, Packt,, 9781789955750.
• Cs231n Stanford University
• Deep learning – deeplearning.ai
Grades
• Attendant + Homework: 10%
• Midterm project: 20%
• Final project: 70%
45 hours at Classes:
Theory + Coding practice
Training
Prediction
Regression Clustering
Sources: http://mbjoseph.github.io/2013/11/27/measure.html
https://becominghuman.ai/the-very-basics-of-reinforcement-learning-154f28a79071
Regression Clustering
Sources: http://mbjoseph.github.io/2013/11/27/measure.html
https://becominghuman.ai/the-very-basics-of-reinforcement-learning-154f28a79071
• Text
• Character ➔ word ➔ word group ➔ clause ➔ sentence ➔ story
• Speech
• Sample ➔ spectral band ➔ sound ➔ … ➔ phone ➔ phoneme ➔
word
https://www.xenonstack.com/blog/static/public/uploads/media/machine-learning-vs-deep-learning.png
Several big improvements in recent years in NLP Leverage different levels of representation
✓ Machine Translation o words & characters
✓ Sentiment Analysis o syntax & semantics
✓ Dialogue Agents
✓ Question Answering
✓ Text Classification …
Minhhuy Le, ICSLab, Phenikaa Uni. 19
2. History of Deep Learning
Training a Perceptron
• Learning Algorithm by Rosenblatt
• Initialize weights randomly
• Take one sample xi and predict yi
• For erroneous predictions, update weights
• If the output was 𝑦ො = 0 and yi = 1, increase
weights
• If the output was 𝑦ො = 1 and yi = 0, decrease
weights
• Repeat until no errors are made
Multi-layer Perceptron
• One perceptron = one decision
• Question: What about multiple
decisions?
• Eg. Digit classification
152 layers
22 layers
Shallow
8 layers
• Video (2.54 s)
• https://youtu.be/0FW99AQmMc8
Minhhuy Le, ICSLab, Phenikaa Uni. 31
3. Applications of Deep Learning
(3/8) Automatic Machine Translation
DEMO: http://www.cs.toronto.edu/~graves/handwriting.html
Minhhuy Le, ICSLab, Phenikaa Uni. 35
3. Applications of Deep Learning
(6/8) Automatic Text Generation
• Large RNN
• Code on Github
• https://github.com/karpathy/char-rnn
• Paul Graham generator
• Shakespeare
• Wikipedia
• Algebraic Geometry (LaTeX)
• Linux source code
• Generating Baby Names
• Vision
• Decision Making https://youtu.be/TmPfTpjtdgg
• Etc.
• Python
• Jupyter Notebook
• Google Colab
https://www.analyticsvidhya.com/blog/2020/03/google-colab-machine-learning-deep-learning/#1