å°å ¥æ¹æ³ 1ï¼ããããLIBSVMã®zipãã¡ã¤ã«ãããã¯tar.gzãã¡ã¤ã«ããã¦ã³ãã¼ããé©å½ãªãã£ã¬ã¯ããªã«è§£åãï¼ææ°ç3.1ï¼ 2ï¼è§£åãããã©ã«ãã«ç§»åããmakeã³ãã³ãå®è¡ã以ä¸ã®ãã¡ã¤ã«ãã§ããã¯ãã svm.o svm-train.exe svm-predict.exe svm-scale.exe 3ï¼è§£åãããã©ã«ãã®ä¸ã®pythonãã©ã«ãã«ç§»åããmakeã³ãã³ãå®è¡ã以ä¸ã®ãã¡ã¤ã«ãã§ããã¯ãã libsvm.so.2 使ç¨ä¾ é©å½ã«å¦ç¿ããã¦ã¿ãï¼ svmtest.py from svm import * from svmutil import * prob = svm_problem([1,-1], [[1,0,1], [-1,0,-1]]) #è¨ç·´ãã¼ã¿ param = svm_parameter('-t 1 -c 3') #SVMã®ãã©ã¡ã¼ã¿è¨å® m =
{{#tags}}- {{label}}
{{/tags}}