LFD Book Forum  

Go Back   LFD Book Forum > Course Discussions > Online LFD course > Homework 6

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-17-2012, 05:56 PM
jianpan jianpan is offline
Junior Member
 
Join Date: Jul 2012
Posts: 9
Default backpropagation at the final layer

since \delta_1^{(L)}=\frac{\partial e(w)}{\partial s_1^{(L)}}, and e(w)=(x_1^{(L)}-y_n)^2, and x_1^{(L)}=\theta(s_1^{(L)}), I got \delta_1^{(L)}=2*(x_1^{(L)}-y_n)*(1-\theta^2(s)). is this correct? I found a python program at wikipedia about backpropagation using the \delta_1^{(L)}=(x_1^{(L)}-y_n)*(1-\theta^2(s)), and couldn't figure out where the 2 was dropped. Can someone confirm my derivation is correct? Thanks.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:14 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.