李宏毅机器学习(7)

Brief introduction for Deep Learning

深度学习3步骤

  1. 设定神经网络(define a set of function)
  2. 设定Loss函数(goodness of function)
  3. 选出最好的函数(pick the best function)

Network parameter θ θ θ:all the weights and biases in the neurons
在这里插入图片描述
在这里插入图片描述

Given network structure,define a function set(还没定参数)
Deep = = =Many hidden layers

Matrix Operation:
在这里插入图片描述
y = f ( x ) = σ ( w L . . . σ ( w 2 σ ( w 1 ⋅ x + b 1 ) + b 2 ) . . . + b L ) y=f(x)=σ(w_L...σ(w_2 σ(w_1·x+b_1)+b_2)...+b_L) y=f(x)=σ(wL...σ(w2σ(w1x+b1)+b2)...+bL)
将Neural Network 用矩阵乘法表示,所以就可以用GPU优化加速。

How many layers?How many neurons for each layer?

  • Trial and Error + Intuition 经验+直觉

Can the structure be automatically determined?

  • 可以,但技术不成熟,尚未普及

Can we design the network structure?

  • 可以,如:Convolutional Neural Network

Loss for an Example

用 Cross entropy: C ( y , y ^ ) = − ∑ i = 1 10 y ^ i l n y i , L = ∑ n = 1 N C n C(y,\widehat{y})=-\sum_{i=1}^{10}{\widehat{y}_ilny_i},L=\sum_{n=1}^{N}{C_n} C(y,y )=i=110y ilnyi,L=n=1NCn
Find a fucntion is function set that minimize total loss L L L
Find the network parameters θ ∗ θ^{*} θ that minimize total loss L L L
方法:还是Gradient Descent
Backpropagation算法:an efficient way to compute α L α w \frac{αL}{αw} αwαL in neural network
就是使用工具包
Universality Theorem
Any continuous function f
f : R N → R M f:R^N \rightarrow R^M f:RNRM
Can be realized by a network with one hidden layer(given enough hidden neurons)

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值