Deep Learning Coursera - Course 1, Exams of Advanced Education

Deep Learning Coursera - Course 1

Typology: Exams

2025/2026

Available from 03/26/2026

lamine-junior
lamine-junior 🇺🇸

1.6K documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Deep Learning Coursera - Course 1
Supervised Learning - examples [Input(x), Output(y), Application] - Answer 1)
Home Features, Price, Real Estate (NN)
2) Ad user info, Click on Ad?(0/1), Online Advertising (NN)
3) Image, Object (1, ..., 1000), Photo Tagging (CNN)
4) Audio, Text transparent, Speech recognition (RNN)
5) English, Chinese, Machine translation (RNN)
6) Image Radar info, Position of other cars, Autonomous driving (custom
hybrid)
Structured Data - examples (Supervised Learning) - Answer 1) Housing Data
(size, #bedrooms) --> Price of House (1000$)
2) (User Age, Ad ID) --> Click (1/0)
Unstructured Data - examples (Supervised Learning) - Answer 1) Audio
(waves)
2) Image (cat)
3) Text (Four scores and seven years ago...) ... ex: invidual words =
unstructured data
Backaward Propogation - Answer One step of (backward propagation) yields
derivative of final output variable
dvar (for pupose of this course) - Answer refers to derivative of the final
ouput variable
simplified formula for the (derivative of the loss with respect to z) - Answer a
- z
dw - why only 1 such derivative in output from this for loop? - Answer
because derivative (dw) is cumulative
Non-Vectorized - Answer z = w.T*x + b
Non-vectorized:
z = 0
for i in range(n-x):
z += w[i] ** [:]
pf3

Partial preview of the text

Download Deep Learning Coursera - Course 1 and more Exams Advanced Education in PDF only on Docsity!

Deep Learning Coursera - Course 1 Supervised Learning - examples [Input(x), Output(y), Application] - Answer 1) Home Features, Price, Real Estate (NN)

  1. Ad user info, Click on Ad?(0/1), Online Advertising (NN)
  2. Image, Object (1, ..., 1000), Photo Tagging (CNN)
  3. Audio, Text transparent, Speech recognition (RNN)
  4. English, Chinese, Machine translation (RNN)
  5. Image Radar info, Position of other cars, Autonomous driving (custom hybrid) Structured Data - examples (Supervised Learning) - Answer 1) Housing Data (size, #bedrooms) --> Price of House (1000$)
  6. (User Age, Ad ID) --> Click (1/0) Unstructured Data - examples (Supervised Learning) - Answer 1) Audio (waves)
  7. Image (cat)
  8. Text (Four scores and seven years ago...) ... ex: invidual words = unstructured data Backaward Propogation - Answer One step of (backward propagation) yields derivative of final output variable dvar (for pupose of this course) - Answer refers to derivative of the final ouput variable simplified formula for the (derivative of the loss with respect to z) - Answer a
  • z dw - why only 1 such derivative in output from this for loop? - Answer because derivative (dw) is cumulative Non-Vectorized - Answer z = w.T*x + b Non-vectorized: z = 0 for i in range(n-x): z += w[i] ** [:]

z += b Vectorized - Answer w = [....] #but vertical x = [.....] #but vertical x is-element-of R^(n_x) Vectorized: z = np.dot(w,x) + b ... where np.dot(w,x) = w.T*x Vectorization (Purpose of Python for Deep Learning) - Answer Vectorized version runs much more quickly thant non-vectorized version (for loop used)

  • vectorization can be done using both CPU AND GPU ... so you do NOT need a GPU to use vectorized implementation SIMD (Single Implementation Multiple Data) computations - {CPU, GPU} - Answer NN guideline - Avoid explicit for-loops (as much as possible) - Answer u = Av u_i = sum_j (A_ij * vj) # vectorized version u = np.zeros(n, i) # non-vectorized version for i ... <- for j ... <- u[i] += A[i][i] * v[j] Vectors and matrix values functions - Answer Say you need to apply the exponential operation on every element of a matrix/vector. v = [v_1 .... v_n] # but vertical --> u = [e^(v_1), e^(v_2), ..., e^(v_n)] # but vertical --> u = np.zeros((n,1)) --> for i in range(n): --> u[i] = math.exp(v[i])

import numpy as np