For LibSVM.
The Vector Classification Support Practical Guide suggests using an m-number to represent an attribute of an m-category. For example, {red, green, blue} can be represented as (0,0,1), (0,1,0), (1,0,0).
But in README, he says that the value in the index: value paragraph can only take a real number.
Does anyone know how to represent, say (0,0,1), in a data file?
libsvm, SVM ( , ). 4 a, b, c, d libsvm 6 svms , b, c, d, b d, c d. , 6 . , (1,0,0,..) (0,1,0..).
libsvm. , , , , . 5 , 3 (3.3, 1.5, 0.5, 7.3, 3.5) 4,
4 1: 3,3 2: 1,5 3: 0,5 4: 7,3 5: 3,5
, , , , , . (.0,0,0,0,.7) 2, ( )
2 1:.5 5:.7
( ) , .
3 (, , , ), libsvm 3 . , , + ve 100 , = .
+1 1:100 2: 0 3: 1 4: 0
Source: https://habr.com/ru/post/1762768/More articles:An application that does not use the HTTP Live Streaming protocol is rejected - objective-chowto handle mailto: in android webview - androidBasic data: after migration, additional migration code - objective-cEmacs-like Ctrl + Up / Down text navigation in Visual Studio 2010? - visual-studioDrupal module for displaying data in the form of a table - drupalWhat do I need to do to use the System.Windows.Forms.WebBrowser control in the WCF service? - c #How to get value in html control during postback in asp.net - c #How to prevent the use of space when typing? - jqueryhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1762772/ab-test-with-google-web-optimizer-what-cookie-tells-me-visitor-got-a-or-b&usg=ALkJrhgrn65F9SqN62jU-4NJxSKc3X_G7wDynamically compiling and running shaders from a file in XNA - compiler-constructionAll Articles