資源簡介
LIBSVM中的SVDD(Support vector data descriiption)算法,直接可用,可通過修改參數gamma和參數C來控制最后剩下的支撐矢量的數量。
代碼片段和文件信息
#include?
#include?
#include?
#include?
#include?
#include?“svm.h“
#define?Malloc(typen)?(type?*)malloc((n)*sizeof(type))
void?print_null(const?char?*s)?{}
void?exit_with_help()
{
printf(
“Usage:?svm-train?[options]?training_set_file?[model_file]\n“
“options:\n“
“-s?svm_type?:?set?type?of?SVM?(default?0)\n“
“ 0?--?C-SVC\n“
“ 1?--?nu-SVC\n“
“ 2?--?one-class?SVM\n“
“ 3?--?epsilon-SVR\n“
“ 4?--?nu-SVR\n“
“ 5?--?SVDD\n“
“ 6?--?R^2:?L1SVM\n“
“ 7?--?R^2:?L2SVM\n“
“-t?kernel_type?:?set?type?of?kernel?function?(default?2)\n“
“ 0?--?linear:?u‘*v\n“
“ 1?--?polynomial:?(gamma*u‘*v?+?coef0)^degree\n“
“ 2?--?radial?basis?function:?exp(-gamma*|u-v|^2)\n“
“ 3?--?sigmoid:?tanh(gamma*u‘*v?+?coef0)\n“
“ 4?--?precomputed?kernel?(kernel?value
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????989??2011-04-27?14:31??test.txt.model
?????文件?????173056??2011-04-27?15:33??Debug\SVDD.bsc
?????文件?????331851??2011-04-27?15:33??Debug\SVDD.exe
?????文件?????359808??2011-04-27?15:33??Debug\SVDD.ilk
?????文件?????215520??2011-04-26?10:25??Debug\SVDD.pch
?????文件?????697344??2011-04-26?10:47??Debug\SVDD.pdb
?????文件??????21670??2011-04-26?10:47??Debug\svm-train.obj
?????文件??????????0??2011-04-26?10:47??Debug\svm-train.sbr
?????文件?????179555??2011-04-27?15:33??Debug\svm.obj
?????文件??????????0??2011-04-27?15:33??Debug\svm.sbr
?????文件??????50176??2011-04-27?15:33??Debug\vc60.idb
?????文件??????61440??2011-04-26?10:47??Debug\vc60.pdb
?????文件???????4381??2011-02-19?13:45??SVDD.dsp
?????文件????????533??2011-02-19?12:40??SVDD.dsw
?????文件??????91136??2011-04-28?16:19??SVDD.ncb
?????文件??????53760??2011-04-28?16:19??SVDD.opt
?????文件???????1064??2011-04-27?15:33??SVDD.plg
?????文件??????69064??2011-04-26?10:25??svm.cpp
?????文件???????2276??2011-04-21?14:42??svm.h
?????文件???????8940??2011-04-26?10:47??svm-train.c
?????文件???????1227??2011-04-21?15:22??test.txt
?????目錄??????????0??2011-04-26?10:25??Debug
-----------?---------??----------?-----??----
??????????????2323790????????????????????22
評論
共有 條評論