22
deeplearning.ai Deep Neural Networks Deep L-layer Neural network

r g.ai orkimlab.postech.ac.kr/dkim/class/csed703G_2020f/C1M4.pdf · 2020. 7. 17. · ork. w Ng? on er s s. w Ng on. g.ai l orks on ork. w Ng k. deeplearning.ai Getting your matrix

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

  • deeplearning.ai

    Deep NeuralNetworks

    Deep L-layerNeural network

  • AndrewNg

    What is a deep neural network?

    logistic regression

    1 hidden layer

    2 hidden layers

    5 hidden layers

  • AndrewNg

    Deep neural network notation

  • deeplearning.ai

    Deep NeuralNetworks

    Forward Propagationin a Deep Network

  • AndrewNg

    Forward propagation in a deep network

  • deeplearning.ai

    Getting your matrixdimensions right

    Deep Neural Networks

  • Andrew Ng

    Parameters !["] and "["]

    $%&!&"

  • Andrew Ng

    Vectorized implementation

    !"#!#"

  • deeplearning.ai

    Whydeeprepresentations?

    DeepNeuralNetworks

  • AndrewNg

    Intuition about deep representation

    !"

  • AndrewNg

    Circuit theory and deep learningInformally: There are functions you can compute with a “small” L-layer deep neural network that shallower networks require exponentially more hidden units to compute.

  • deeplearning.ai

    Building blocks ofdeep neural networks

    Deep NeuralNetworks

  • AndrewNg

    Forward and backward functions

  • AndrewNg

    Forward and backward functions

  • deeplearning.ai

    Parameters vsHyperparameters

    Deep Neural Networks

  • Andrew Ng

    What are hyperparameters?Parameters: ! " , % " ,! & , % & ,! ' , % ' …

  • Andrew Ng

    Applied deep learning is a very empirical process

    cost !

    # of iterations

    Idea

    Experiment Code

  • deeplearning.ai

    What does thishave to do with

    the brain?

    Deep Neural Networks

  • Andrew Ng

    Forward and backward propagation!["] = #["]$ + &["]'["] = ( " (! " )![$] = #[$]'["] + &[$]'[$] = ( $ (! $ )

    '[%] = ( % ! % = +,

    -![%] = '[%] − +-#[%] = 10-!

    % ' % &

    -&[%] = 1012. sum(d!% , 9:;< = 1, =>>2-;0< = ?@A>)

    -![%'"] = -# % &-! % (( % (! %'" )

    -#["] = 10-!" ' " &

    -&["] = 1012. sum(d!" , 9:;< = 1, =>>2-;0< = ?@A>)

    -!["] = -# % &-! $ (( " (! " )