📄 svmtoy_manual.txt
字号:
svm-toy:
This is a simple graphical interface which shows how SVM
separate data in a plane. You can click in the window to
draw data points. Use "change" button to choose class
1, 2 or 3 (i.e., up to three classes are supported), "load"
button to load data from a file, "save" button to save data to
a file, "run" button to obtain an SVM model, and "clear"
button to clear the window.
NOTE:
After clicking it open, you may have to stretch the window a little
to see the characters at the bottom row.
At this point, you may not need "save" or "load" button.
In the blank area, you will see "-t 2 -c 100".
It means "RBF kernel" and "lambda=100", where "gamma is default as 0.5".
( "c" here means "lambda" in the class )
You can change the parameters as follows:
-t kernel_type : set type of kernel function (default 2)
0 -- linear: u'*v
1 -- polynomial: (gamma*u'*v + coef0)^degree
2 -- radial basis function: exp(-gamma*|u-v|^2)
3 -- sigmoid: tanh(gamma*u'*v + coef0)
-c cost : set the slack penalty parameter (default 1), i.e. "lambda" in the class
-g gamma : set gamma in kernel function (default 1/D), where D is the dimension
-r coef0 : set coef0 in kernel function (default 0)
-d degree : set degree in kernel function (default 3)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -