LFD Book Forum  

Go Back   LFD Book Forum > Book Feedback - Learning From Data > Chapter 3 - The Linear Model

Reply
 
Thread Tools Display Modes
  #1  
Old 10-08-2013, 06:43 PM
luwei0917 luwei0917 is offline
Junior Member
 
Join Date: Aug 2013
Posts: 3
Default Problem 3.6

for part (a). why it is \ge 1 instead of 0? Thanks.
Reply With Quote
  #2  
Old 10-10-2013, 08:15 AM
magdon's Avatar
magdon magdon is offline
RPI
 
Join Date: Aug 2009
Location: Troy, NY, USA.
Posts: 595
Default Re: Problem 3.6

The point is to show that weights giving >0 implies the existence of weights giving >=1.
Quote:
Originally Posted by luwei0917 View Post
for part (a). why it is \ge 1 instead of 0? Thanks.
__________________
Have faith in probability
Reply With Quote
  #3  
Old 10-09-2014, 09:09 AM
squidsforbreakfast squidsforbreakfast is offline
Junior Member
 
Join Date: Oct 2014
Posts: 1
Default Re: Problem 3.6

I think I have an answer for parts b and c, but I'm not really sure if what I'm doing is correct. Can I check it with you?
For b), the thing we're trying to optimize is w, so then w would be z. So then we want to multiply the weights of the data (A) with w (z) to ensure that they are less than the signs of the data (y). I'm pretty sure that's right, however it feels a little hand-wavy to me, so even if it is right, I'm worried I may be missing some of the underlying logic of why it is the right answer.
For c), then, we want to minimize error, so then I think (c^T)z is the summation of the errors, b=y(w^Tx) and Az = 1-e (I couldn't figure out how to write xi in here).
But ten we have z being related to the summation of the errors in one equation, but related to just a single error instance in the other, so I think that what I have can't be right, even if it makes sense to me.
Can you offer a hint on what I'm doing wrong here?
Reply With Quote
Reply

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 08:26 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.