LFD Book Forum

LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Homework 5 (http://book.caltech.edu/bookforum/forumdisplay.php?f=134)
-   -   clarification on lecture 9 (http://book.caltech.edu/bookforum/showthread.php?t=456)

rohanag 05-07-2012 02:43 AM

clarification on lecture 9
I have a slight problem with delta_E_in in slide 23 of lecture 9.


I think there should be a negative sign in the exponentiation term,
e^(y_n * w.transpose * x_n) should be e^( - y_n * w.transpose * x_n )

as it would result from differentiating the cross entropy error? Please clarify.


Thank you

IamMrBB 05-07-2012 03:13 AM

Re: clarification on lecture 9
The formula on the slide is correct.

d/dx (ln(1+exp(-f(x))) = -exp(-f(x))f'(x)/(1+exp(-f(x))

now multiply both numerator and denominator with exp(f(x)) and the right formula -f'(x)/(exp(f(x))+1) follows since exp(f(x))*exp(-f(x)) = 1

rohanag 05-07-2012 03:33 AM

Re: clarification on lecture 9
got it, thanks

All times are GMT -7. The time now is 02:00 AM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2021, 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.