当前位置:   article > 正文

P13 Deep Learning_define a set of function

define a set of function

P13 Deep Learning

Three Steps for Deep Learning

  • Step 1:define a set of function
  • Step 2:goodness of function
  • Step 3:pick the best function

Step 1:define a set of function

img

  • 如何连接Neural

    • Fully Connect Feedforward Network
      • Input:1 和 -1

    img

  • 计算出全部的结果

img

  • Input:0 和 0

  • 一个Network给定了参数就是一个Function

img

  • Given network structure,define a function set

img

Fully Connect Feedforward Network

  • 两两相互连接
  • Input Layer
  • Hidden Layers
  • Output Layer

img

  • Deep = Many hidden layers

Matrix Operation

img

Neural Network

  • 一连串的Matrix Operation
  • Using parallel computing techniques to speed up matrix operation

img

img

  • 前一个Layer的Output当作Feature

img

  • Softmax归一化
Example Application
  • Handwriting Digit Recognition

  • 判断一下属于每个数字的概率

img

  • Input:256-dimension vector
  • Output:10-dimension vector
  • need a function,this function is Neural Network

img

  • Layer是自己设计的,要有几个Layer,每个Layer有几个Neuron,就决定了Function Set长什么样子

img

  • Q:How many layers?How many neurons for each layer?
  • A:Trial and Error + Intuition
  • Q:Can the structure be automatically determined
  • A:E.g. Evolutiuonary Artificial Neural Networks
  • Q:Can we design the network structure
  • A:Convolutional Neural Network(CNN)卷积神经网络

Step2:goodness of function

  • Loss for an Example
  • Cross Entropy:交叉熵,不断地调整参数,使Cross Entropy越小越好

img

  • Total Loss

img

  • 利用Gradient Descent找到一组好的参数

img

  • Backpropagation:an efficient way to compute 微分 in neural network

img

  • more parameters,better performance是很正常的,more parameters cover function set更广
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/537490
推荐阅读
相关标签
  

闽ICP备14008679号