5 Neural Networks: Learning

| 分类 course  | 标签 ml 

Cost Function

Notation

  • L = total no. of layers in network
  • no. of units(not counting bias unit) in layer l

Binary classification

y=0 or 1, just 1 output unit

Multi-class classification (k classes)

k output units,()

cost function

Logistic regression

Neural network

Backpropagation algorithm

Gradient computation

Need code to comput:

Forward propagaton:(presume there are 4 layers)

Backpropagation algorithm

Intuition: = “error” of node in layer .

For each output unit(layer L=4)

ATTENTION:

There is no .

(Ignore if )

The other part can be found here


上一篇     下一篇