LFD Book Forum  

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

Reply
 
Thread Tools Display Modes
  #1  
Old 04-07-2016, 07:58 PM
galo galo is offline
Junior Member
 
Join Date: Jan 2016
Posts: 7
Default Q1 - I don't get the answer

Why is the "+1" in the answer? I thought it would be only d since there are d dimensions in the data.
Reply With Quote
  #2  
Old 04-10-2016, 11:50 AM
yaser's Avatar
yaser yaser is offline
Caltech
 
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,477
Default Re: Q1 - I don't get the answer

Quote:
Originally Posted by galo View Post
Why is the "+1" in the answer? I thought it would be only d since there are d dimensions in the data.
The bias b is part of the QP problem, although it is not part of the objective {1 \over 2} {\bf w}^{\rm T}{\bf w}. This is because b is part of the constraints, and its value affects the values of the {\bf w} variables in the constraints, hence it affects the objective through these variables.
__________________
Where everyone thinks alike, no one thinks very much
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 06:35 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.