LFD Book Forum  

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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-24-2013, 01:07 AM
a.sanyal902 a.sanyal902 is offline
Member
 
Join Date: Apr 2013
Posts: 11
Default *ANSWER* Hw 5, q10

I understood why the answer to Q10 is as given.

However, I'm a little confused as the given function is not differentiable and we wont be able to use it for SGD. Can this be overcome, as we did in logistic regression by using the properties of the sigmoid function?
Reply With Quote
  #2  
Old 05-24-2013, 01:26 AM
yaser's Avatar
yaser yaser is offline
Caltech
 
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,477
Default Re: *ANSWER* Hw 5, q10

Quote:
Originally Posted by a.sanyal902 View Post
I understood why the answer to Q10 is as given.

However, I'm a little confused as the given function is not differentiable and we wont be able to use it for SGD. Can this be overcome, as we did in logistic regression by using the properties of the sigmoid function?
The error function can be softened into a smooth version like the sigmoid was used to soften a hard threshold. One can also keep the functional form and use the right or left derivative here as a fix.
__________________
Where everyone thinks alike, no one thinks very much
Reply With Quote
  #3  
Old 05-24-2013, 02:17 AM
a.sanyal902 a.sanyal902 is offline
Member
 
Join Date: Apr 2013
Posts: 11
Default Re: *ANSWER* Hw 5, q10

Thanks a lot for the reply Prof. !
Reply With Quote
Reply

Tags
hw.10

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 07:17 AM.


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.