this is also good for learning SVM algorithm
源代码在线查看: demo1.bat.bak
@SET OLDPATH=%PATH%
@SET PATH=.\bin\win32;%PATH%
rem test_classify.exe "classify -t demo\DataExample1.txt -sf 1 -- LibSVM -Kernel 0 -CostFactor 3"
rem test_classify.exe "classify -t demo\DataExample1.txt -sf 1 -- LogitReg -CostFactor 3"
rem test_classify.exe "classify -t demo\DataExample1.txt -sf 1 -svd 15 -- cross_validate -t 3 -- kNN_classify -k 3"
rem test_classify.exe "classify -t demo\DataExample2.txt -sf 0 -- train_test_validate -t 100 -- train_test_multiple_class -- SVM_LIGHT -Kernel 2 -KernelParam 0.01 -CostFactor 3"
rem test_classify.exe "classify -t demo\DataExample2.train.txt -sf 0 -- test_file_validate -t demo\DataExample2.test.txt -- MCAdaBoostM1 -- WekaClassify -MultiClassWrapper 0 -- trees.J48"
rem test_classify.exe "classify -t demo\DataExample2.txt -sf 0 -oflag w -- train_test_validate -t 100 -- MCWithMultiFSet -Voting -Separator 1,120,121,150,154,225 -- IIS_classify -Iter 50"
rem test_classify.exe "classify -t demo\DataExample1.train.txt -- train_only -m demo\DataExample1.libSVM.model -- LibSVM -Kernel 0 -CostFactor 3"
rem test_classify.exe "classify -t demo\DataExample1.test.txt -- test_only -m demo\DataExample1.libSVM.model -- LibSVM -Kernel 0 -CostFactor 3"
rem test_classify.exe "classify -t demo\DataExample2.txt -sf 0 -svd 15 -drf demo\DataExample2_SVD15.txt -- train_test_validate -t 1 -- ZeroR"
test_classify.exe "classify -t demo\DataExample3.txt -sf 1 -if 2 -- SVM_light -Kernel 0 -CostFactor 10"
@PATH %OLDPATH%