Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Incubator Q&A

Welcome to the staging ground for new communities! Each proposal has a description in the "Descriptions" category and a body of questions and answers in "Incubator Q&A". You can ask questions (and get answers, we hope!) right away, and start new proposals.

Are you here to participate in a specific proposal? Click on the proposal tag (with the dark outline) to see only posts about that proposal and not all of the others that are in progress. Tags are at the bottom of each post.

Post History

66%
+2 −0
Incubator Q&A What are the support vectors in a soft-margin SVM

I know what Support Vector Machines (SVMs) are and how they work, but I regularly get confused by what exactly the support vectors are. In case of linearly separable data, the support vectors are ...

1 answer  ·  posted 1y ago by mr Tsjolder‭  ·  last activity 1y ago by mr Tsjolder‭

#1: Initial revision by user avatar mr Tsjolder‭ · 2023-08-01T20:32:41Z (over 1 year ago)
What are the support vectors in a soft-margin SVM
I know what Support Vector Machines (SVMs) are and how they work, but I regularly get confused by what exactly the support vectors are. 

In case of linearly separable data, the support vectors are those data points that lie (exactly) on the borders of the margins. 
After all, these are the only points that are necessary to compute the margin (through the bias term b) and therefore _support_ the solution.

For soft-margin $C$-SVMs, however, I find the concept of support vectors less obvious. 
Of course, the data points on the border of the margin are still support vectors, but I always get confused about whether the points that are in the margin are support vectors or not. 
After all, only the points on the borders are used to compute the bias term $b$ (in the same way as for linearly separable data).
Therefore, it could be argued that the margin is only supported by these points.

However, there are [multiple](https://stats.stackexchange.com/questions/96497/effect-of-high-number-of-support-vectors) [sources](https://stats.stackexchange.com/questions/270187/svm-why-does-the-number-of-support-vectors-decrease-when-c-is-increased) that mention 1000+ support vectors, which would be impossible if only those on the border count. 
My question is thus: What exactly are the support vectors for a soft-margin SVM?