Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software
- Software Development SDKs and Libraries
- Intel® oneAPI Data Analytics Library
- linear svm decision function

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

renorm2

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-11-2016
12:26 AM

126 Views

linear svm decision function

Link Copied

3 Replies

VictoriyaS_F_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-14-2016
08:08 AM

126 Views

Hello,

Linear decision function in SVM model is defined as *D( x) = w* ∙ x + b. *And the hyperplane normal

*w*** = ∑y _{k} a_{k }x_{k},*

where *x** _{k }*and

You can read them using the methods svm::Model::getSupportVectors() and svm::Model::getClassificationCoefficients(), respectively.

For additional details please see chapter 2.1 in B. E. Boser, I. Guyon, and V. Vapnik. *A training algorithm for optimal margin classiﬁers.* Proceedings of the Fifth Annual Workshop on Computational Learning Theory, pp: 144–152.

Best regards,

Victoriya

renorm2

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-24-2016
02:18 AM

126 Views

Thanks for explaining.

There is one more question I would like to ask.

When using linear svm there is no need to add const bias term to every feature, i.e. bias term is taken care by the algorithm itself.

Is that right?

VictoriyaS_F_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-24-2016
08:07 AM

126 Views

Yes, there is no need to add bias term to each feature.

SVM training algorithm computes bias term as part of a model. svm::Model::getBias() method returns the value of bias term.

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

For more complete information about compiler optimizations, see our Optimization Notice.