Polynomial kernel

Illustration of the mapping . On the left a set of samples in the input space, on the right the same samples in the feature space where the polynomial kernel (for some values of the parameters and ) is the inner product. The hyperplane learned in feature space by an SVM is an ellipse in the input space.

In machine learning, the polynomial kernel is a kernel function commonly used with support vector machines (SVMs) and other kernelized models, that represents the similarity of vectors (training samples) in a feature space over polynomials of the original variables, allowing learning of non-linear models.

Intuitively, the polynomial kernel looks not only at the given features of input samples to determine their similarity, but also combinations of these. In the context of regression analysis, such combinations are known as interaction features. The (implicit) feature space of a polynomial kernel is equivalent to that of polynomial regression, but without the combinatorial blowup in the number of parameters to be learned. When the input features are binary-valued (booleans), then the features correspond to logical conjunctions of input features.[1]

Definition

For degree-d polynomials, the polynomial kernel is defined as[2]

where x and y are vectors of size n in the input space, i.e. vectors of features computed from training or test samples and c ≥ 0 is a free parameter trading off the influence of higher-order versus lower-order terms in the polynomial. When c = 0, the kernel is called homogeneous.[3] (A further generalized polykernel divides xTy by a user-specified scalar parameter a.[4])

As a kernel, K corresponds to an inner product in a feature space based on some mapping φ:

The nature of φ can be seen from an example. Let d = 2, so we get the special case of the quadratic kernel. After using the multinomial theorem (twice—the outermost application is the binomial theorem) and regrouping,

From this it follows that the feature map is given by:

generalizing for , where , and applying the multinomial theorem:

The last summation has elements, so that:

where and

Practical use

Although the RBF kernel is more popular in SVM classification than the polynomial kernel, the latter is quite popular in natural language processing (NLP).[1][5] The most common degree is d = 2 (quadratic), since larger degrees tend to overfit on NLP problems.

Various ways of computing the polynomial kernel (both exact and approximate) have been devised as alternatives to the usual non-linear SVM training algorithms, including:

  • full expansion of the kernel prior to training/testing with a linear SVM,[5] i.e. full computation of the mapping φ as in polynomial regression;
  • basket mining (using a variant of the apriori algorithm) for the most commonly occurring feature conjunctions in a training set to produce an approximate expansion;[6]
  • inverted indexing of support vectors.[6][1]

One problem with the polynomial kernel is that it may suffer from numerical instability: when xTy + c < 1, K(x, y) = (xTy + c)d tends to zero with increasing d, whereas when xTy + c > 1, K(x, y) tends to infinity.[4]

References

  1. ^ a b c Yoav Goldberg and Michael Elhadad (2008). splitSVM: Fast, Space-Efficient, non-Heuristic, Polynomial Kernel Computation for NLP Applications. Proc. ACL-08: HLT.
  2. ^ "Archived copy" (PDF). Archived from the original (PDF) on 2013-04-15. Retrieved 2012-11-12.{{cite web}}: CS1 maint: archived copy as title (link)
  3. ^ Shashua, Amnon (2009). "Introduction to Machine Learning: Class Notes 67577". arXiv:0904.3664v1 [cs.LG].
  4. ^ a b Lin, Chih-Jen (2012). Machine learning software: design and practical use (PDF). Machine Learning Summer School. Kyoto.
  5. ^ a b Chang, Yin-Wen; Hsieh, Cho-Jui; Chang, Kai-Wei; Ringgaard, Michael; Lin, Chih-Jen (2010). "Training and testing low-degree polynomial data mappings via linear SVM". Journal of Machine Learning Research. 11: 1471–1490.
  6. ^ a b Kudo, T.; Matsumoto, Y. (2003). Fast methods for kernel-based text analysis. Proc. ACL.

Read other articles:

宮下 文夫生誕 1892年11月11日 日本 福島県死没 (1963-04-01) 1963年4月1日(70歳没)所属組織  大日本帝国陸軍軍歴 1913年 - 1945年最終階級 陸軍中将テンプレートを表示 宮下 文夫(みやした ふみお、1892年(明治25年)11月11日[1] - 1963年(昭和38年)4月1日[1])は、大日本帝国陸軍軍人。最終階級は陸軍中将。 経歴 1892年(明治25年)に福島県で生まれた[1]。陸...

Лім — термін, який має кілька значень. Ця сторінка значень містить посилання на статті про кожне з них.Якщо ви потрапили сюди за внутрішнім посиланням, будь ласка, поверніться та виправте його так, щоб воно вказувало безпосередньо на потрібну статтю.@ пошук посилань саме ...

As I AmAlbum studio karya Alicia KeysDirilis 13 November 2007Direkam2005–2007GenreR&B]], soul, neo-soulDurasi55:58LabelJ RecordsProduserAlicia Keys, Kerry Krucial Brothers], Linda Perry, Marsha Ambrosius, Mark Batson, Dirty Harry, John Mayer, Jack SplashKronologi Alicia Keys Unplugged(2005)Unplugged2005 As I Am(2007) As I Am adalah album ketiga dari penyanyi R&B Alicia Keys yang dirilis pada akhir tahun 2007. Daftar lagu As I Am (Intro) – 1:52 Go Ahead – 4:35 Superwoman – ...

Troupes de défense aérienne des forces terrestresВойска́ противовозду́шной оборо́ны Сухопутных войск Drapeau des troupes de défense aérienne. Création 1992 Pays Russie Branche Forces terrestres russes Type Arme (corps militaire) Rôle Lutte antiaérienne Composée de 16 brigades et 10 régiments Ancienne dénomination Troupes de défense aérienne des forces terrestres soviétiques (ru) Guerres guerre russo-géorgienne (2008) ; gue...

Bank in the Philippines This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article may need to be rewritten to comply with Wikipedia's quality standards. You can help. The talk page may contain suggestions. (April 2019) A major contributor to this article appears to have a close connection with its subject. It may require cleanup to comply with Wikipedia's content policies, particularly...

Social club in Manhattan, New York This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Penn Club of New York – news · newspapers · books · scholar · JSTOR (November 2020) (Learn how and when to remove this template message) Penn Club of New YorkNicknamePenn ClubFormation1900; 123 years ago (190...

1938 film by Malcolm St. Clair Down on the FarmDirected byMalcolm St. ClairWritten byHomer CroyRobert EllisFrank FentonHelen LoganLynn RootProduced byJohn StoneStarringJed ProutySpring ByingtonLouise FazendaCinematographyEdward SnyderEdited byHarry ReynoldsMusic bySamuel KaylinProductioncompanyTwentieth Century FoxDistributed byTwentieth Century FoxRelease dateOctober 11, 1938Running time61 minutesCountryUnited StatesLanguageEnglish Down on the Farm is a 1938 American comedy film directed by ...

The coat of arms of Clarenceux King of Arms. Sir Arthur William Steuart Cochrane KCVO (27 April 1872 – 11 January 1954) was a long-serving Officer of Arms at the College of Arms in London. Biography Arthur Cochrane was the third son of Rev. David Crawford Cochrane, Master of Etwall Hospital (almshouses) and his wife Jane Tomlinson. He was born at Etwall Lodge and educated at Repton School. After serving for a term as secretary to Sir Alfred Scott-Gatty, Garter King of Arms, his heraldic car...

1962 studio album by Sonny Stitt with Jack McDuffStitt Meets Brother JackStudio album by Sonny Stitt with Jack McDuffReleased1962RecordedFebruary 16, 1962StudioVan Gelder Studio, Englewood Cliffs, New JerseyGenreJazzLength38:06LabelPrestigePR 7244ProducerEsmond EdwardsSonny Stitt chronology Boss Tenors(1961) Stitt Meets Brother Jack(1962) Boss Tenors in Orbit!(1962) Jack McDuff chronology Brother Jack Meets the Boss(1962) Stitt Meets Brother Jack(1962) Soul Summit(1962) 'Nother Fu'the...

Эту статью предлагается удалить.Пояснение причин и соответствующее обсуждение вы можете найти на странице Википедия:К удалению/16 апреля 2022.Пока процесс обсуждения не завершён, статью можно попытаться улучшить, однако следует воздерживаться от переименований или немот...

Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Penginyongan – berita · surat kabar · buku · cendekiawan · JSTOR Penginyongan adalah sebuah istilah / kata yang umumnya digunakan oleh orang Banyumas dalam keseharian untuk menceritakan atau menggambarka...

Singaporean sprinter This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. Please help to improve this article by introducing more precise citations. (June 2021) (Learn how and when to remove this template message) Poh Seng Song Poh Seng Song (right) in 2006 Medal record Men's athletics Representing  Singapore South East Asian Games 2003 Hanoi 4 x 100 metres relay 2005 Manila 4 x 100 metres relay ...

Fremantle LimitedLogo Fremantle sejak 10 September 2018JenisAnak perusahaanIndustriProduksiDistribusiLisensiMediaKantorpusatLondon, Britania RayaTokohkunciJennifer Mullin(Group CEO)Andrea Scrosati(Group COO & CEO Continental Europe)Andrew Bott (Group CFO)PemilikRTL GroupSitus webwww.fremantle.com Logo FremantleMedia (2001-2018) Fremantle (sebelumnya bernama FremantleMedia) adalah salah satu dari produser program televisi terbesar di dunia, dengan produksi yang mencakup serial drama, enter...

Historic Indian Christian denomination This article is about the historic Indian church. For the rite employed, see Malankara Rite. This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) A major contributor to this article appears to have a close connection with its subject. It may require cleanup to comply with Wikipedia's content policies, particularly neutral point of view. Please discuss fur...

This article is missing information about nineteenth-century and post-Crimean crisis maps. Please expand the article to include this information. Further details may exist on the talk page. (August 2014) Map of the Odessa Military District (1866) The cartography of Ukraine involves the history of surveying and the construction of maps of Ukraine. Early maps Maps of Ukraine have been produced since the late mediaeval period. During the Turkish wars between 1568 and 1918, high-quality French ma...

1984 European Parliament election in the Netherlands ← 1979 14 June 1984 1989 → 25 seats to the European ParliamentTurnout50.88%   First party Second party Third party   Leader Piet Dankert Bouke Beumer Hans Nord Party PvdA CDA VVD Alliance SOC EPP LD Seats won 9 / 25 8 / 25 5 / 25 Seat change 0 2 1 Popular vote 1,785,165 1,590,218 1,002,685 Percentage 33.70% 30.02% 18.93% Swing 3.31% 5.58% 2.79%   Fourth party Fifth party   Leader Bram...

Bulgarian band Sub Zero FarmBackground informationOriginSofia, BulgariaGenresPunk, funk, metal[1]Years active2008 – PresentMembersGeorgi Borisov (bass, vocals) Simeon Stoilov (guitar) Elenko Petrov (drums) Plamen Bairaktarski (guitar)Past membersKiril Zafirov (trombone) Todor Bakurjiev (trumpet)WebsiteOfficial Site Sub Zero Farm is a Bulgarian punk rock band.[2] The band was formed in 2008 by bass guitarist Georgi Borisov, known around Bulgaria for musical acts such as Kaya ...

Municipality in Jönköping County, SwedenVetlanda Municipality Vetlanda kommunMunicipalityVetlanda City Hall Coat of armsCoordinates: 57°26′N 15°04′E / 57.433°N 15.067°E / 57.433; 15.067CountrySwedenCountyJönköping CountySeatVetlandaArea[1] • Total1,600.43 km2 (617.93 sq mi) • Land1,500.51 km2 (579.35 sq mi) • Water99.92 km2 (38.58 sq mi) Area as of 1 January 2014.P...

Chemical compound CUMYL-PEGACLONELegal statusLegal status BR: Class F2 (Prohibited psychotropics)[1] CA: Schedule II DE: Anlage II (Authorized trade only, not prescriptible) UK: Under Psychoactive Substances Act Identifiers IUPAC name 2,5-Dihydro-2-(1-methyl-1-phenylethyl)-5-pentyl-1H-pyrido[4,3-b]indol-1-one CAS Number2160555-55-3PubChem CID134818034ChemSpider68003813UNIICUT2RV7EIQKEGGC22782Chemical and physical dataFormulaC25H28N2OMolar mass372.5 g·mol−13...

Japanese video on-demand service HuluType of businessSubsidiaryType of siteOTT video streaming platformHeadquartersHigashi-Shinbashi, Minato, Tokyo, JapanArea servedJapanKey peopleHiroyuki Oho (President)Kazuo Takaya (CEO)ParentNippon TVURLwww.hulu.jpAdvertisingYesRegistrationRequiredUsers2.8 million (as of 5 October 2021[update])[1]LaunchedSeptember 1, 2011; 12 years ago (September 1, 2011)Current statusActive Hulu (known outside Japan as...