LFD Book Forum  

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

Reply
 
Thread Tools Display Modes
  #1  
Old 06-05-2013, 11:04 AM
a.sanyal902 a.sanyal902 is offline
Member
 
Join Date: Apr 2013
Posts: 11
Default Clarification - Support Vectors decrease no. of features of W

In Lecture 14, Professor mentions that because only the support vectors count towards W (the rest have alpha=0) which leads to a decrease in the number of features and thus, better generalization.

I'm not sure I got this point because I thought the VC dimension for W would be equal to d, the no. of dimensions of the space, regardless of the number of points being summed. Aren't we just summing the various "x" vectors, multiplied by alpha*y ? How does this decrease the number of features of W?

Thank You!
Reply With Quote
  #2  
Old 06-05-2013, 12:14 PM
yaser's Avatar
yaser yaser is offline
Caltech
 
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,477
Default Re: Clarification - Support Vectors decrease no. of features of W

Quote:
Originally Posted by a.sanyal902 View Post
In Lecture 14, Professor mentions that because only the support vectors count towards W (the rest have alpha=0) which leads to a decrease in the number of features and thus, better generalization.

I'm not sure I got this point because I thought the VC dimension for W would be equal to d, the no. of dimensions of the space, regardless of the number of points being summed. Aren't we just summing the various "x" vectors, multiplied by alpha*y ? How does this decrease the number of features of W?

Thank You!
It decreases the effective number of parameters. If you have 5 support vectors for example, then the vector {\bf w} lives in a 5-dimensional subspace of the d-dimensional space it is formally defined over. There is a bit of liberty taken in this explanation since which vectors would be the support vectors is not known a priori.
__________________
Where everyone thinks alike, no one thinks very much
Reply With Quote
  #3  
Old 06-05-2013, 12:35 PM
Elroch Elroch is offline
Invited Guest
 
Join Date: Mar 2013
Posts: 143
Default Re: Clarification - Support Vectors decrease no. of features of W

I spotted a less sophisticated way of thinking about it which seems helpful to me.

If you merely assume that general points which are associated with a particular target (say +1) are more likely to be near points in a sample D with that target than further away from them, then the bigger the margin, the lower the probability that a general point with target +1 will be wrongly classified (because the bigger the minimum distance from any point in D to a point that would be classified differently).

This ties in quite intuitively with the idea of distances from support vectors (or some sort of transformed distance if kernels are used) being the basis of the hypothesis.
Reply With Quote
  #4  
Old 06-06-2013, 12:14 AM
a.sanyal902 a.sanyal902 is offline
Member
 
Join Date: Apr 2013
Posts: 11
Default Re: Clarification - Support Vectors decrease no. of features of W

Thank You Professor and Elroch for the answers! Clears things up.
Reply With Quote
Reply

Tags
doubt, lecture 14, support vector machines

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 04:55 PM.


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.