View Single Post
  #2  
Old 04-10-2016, 10: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