DL-1-week4-Deep neural network

4 Deep neural network

4.1 Deep L-layer Neural network

Logistic regression is a shallow model.

  • L L : the number of layers in the network.
  • n[l]: the number of nodes or the number of units in layer l l
  • a[l]: the activations in layer l l ,a[l]=g[l](z[l])
  • w[l] w [ l ] : the weights for computing the values z[l] z [ l ] in the a[l] a [ l ]
  • X=a[0],y^=a[L] X = a [ 0 ] , y ^ = a [ L ]
    这里写图片描述

4.2 Forward Propagatin in a Deep Network

skip

4.3 Getting your matrix dimensions right

skip

4.4 Why deep representations?

Example:
Face detection: The first layer in deep neural network maybe being a feature detector or an edge detector. Intuitively you can think of the earlier layers of the neural network is detecting simpler functions like edges and then composing them together in the later layers of a neural network, so that they can learn one more complex functions.
这里写图片描述
Circuit theory and deep learning
Informally:There are functions you can compute with a “small” L-layer deep neural network that shallower networks require exponentially more hidden units to compute.

4.5&4.6 Building blocks of deep neural networks & Forward and backward propagation

Forward and back ward functions
这里写图片描述

4.7 Parameters vs Hyper parameters

Parameters:

W[1],b[1],W[2],b[2],W[3],b[3] W [ 1 ] , b [ 1 ] , W [ 2 ] , b [ 2 ] , W [ 3 ] , b [ 3 ]

Hyper Parameters:
- Learning rate α α
- #iterations
- # hidden layers( L L )
- # hidden units(n[1],n[2],...)
- choice of activation funciton
These hyper parameters can control W and b.
Other hyper parameters:
- momentum
- mini batch size
- regularization parameters
- …
Applied deep learnign is a very empircial process

4.8 What does this have to do with the brain?

这里写图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值