# Method of Support Vector Regression

Initializing live version Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration uses the method of support vector regression to calculate curves representing chemical data. The regression curve is shown in magenta. The margins (dashed green curves) are at distance from the regression curve. The circled black points outside of the margins are the support vectors; the points inside the margins could be deleted and the regression curve would not change. The method of support vector regression uses kernels: here either a polynomial kernel (of degree 1, 2 or 3) or a Gaussian kernel (with parameter ). You can vary the parameter to adjust the weights given to the fitting errors from the curve to the support vectors.

Contributed by: Heikki Ruskeepää (March 2017)
Open content licensed under CC BY-NC-SA

## Snapshots ## Details

Snapshot 1: for small , most points are support vectors

Snapshot 2: for small , very little weight is given to discrepancies between the fit and the support vectors, so that the fit follows the data only approximately

Snapshot 3: with a Gaussian kernel, a small causes the fit to follow the data very closely

Snapshot 4: with a larger , the fit follows the data less accurately

The data used in this Demonstration is from .

For a detailed derivation and explanation of the method of support vector regression, see the document cited in Related Links. In that document, we arranged a small competition in which we studied the performance of support vector regression and seven other prediction methods when applied to 11 datasets. Support vector regression was the winner of that competition.

Reference

 O. Ivanciuc, "Applications of Support Vector Machines in Chemistry," in Reviews in Computational Chemistry, Vol. 23 (K. B. Lipkowitz and T. R. Cundari, eds.), Weinheim: Wiley-VCH, 2007 pp. 291–400.

## Permanent Citation

Heikki Ruskeepää

 Feedback (field required) Email (field required) Name Occupation Organization Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback. Send
{"ft_lang_label":"__label__en","ft_lang_prob":0.8757599,"math_prob":0.64377,"size":1961,"snap":"2023-14-2023-23","text_gpt3_token_len":418,"char_repetition_ratio":0.14971896,"word_repetition_ratio":0.019292604,"special_character_ratio":0.20601735,"punctuation_ratio":0.12011173,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97552073,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24],"im_url_duplicate_count":[null,null,null,null,null,8,null,null,null,8,null,4,null,4,null,4,null,8,null,8,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-04-02T09:09:08Z\",\"WARC-Record-ID\":\"<urn:uuid:64564711-28a8-4c84-8677-654489b55703>\",\"Content-Length\":\"82226\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:9d7d8604-8fdc-4dbe-b7cd-5b014caac8a7>\",\"WARC-Concurrent-To\":\"<urn:uuid:c6edd6a6-ae1f-455f-8eed-813cf48480fc>\",\"WARC-IP-Address\":\"140.177.205.90\",\"WARC-Target-URI\":\"https://demonstrations.wolfram.com/MethodOfSupportVectorRegression/\",\"WARC-Payload-Digest\":\"sha1:FSKYGSFXICCKGD53YZWGPYY6CZ3IFMWP\",\"WARC-Block-Digest\":\"sha1:XT6JH2JQ6WEE6MIJJORVANQIFWDDIC3D\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-14/CC-MAIN-2023-14_segments_1679296950422.77_warc_CC-MAIN-20230402074255-20230402104255-00702.warc.gz\"}"}