%----------------- MATLABã½ã¼ã¹ -----------------% % ANDæ¼ç®ã§SVM(ãµãã¼ããã¯ã¿ã¼ãã·ã³)ã§è§£ãã¦ã¿ã X=[0 0; 0 1; 1 0; 1 1; ]; G=[0; 0; 0; 1;]; % ã¯ãã¹ããªãã¼ã·ã§ã³ã¤ã³ããã¯ã¹ã®çæ [train, test] = crossvalind('holdOut',G); cp = classperf(G); % ãµãã¼ããã¯ãã«ãã·ã¼ã³ã¯ã©ã¹ã¿ãªã³ã°ã®å¦ç¿ svmStruct = svmtrain(X(train,:),G(train),'Kernel_Function','polynomial', 'showplot',true,'Method','LS'); %svmStruct = svmtrain(X(train,:), G(train), 'showplot', true, 'Ke
{{#tags}}- {{label}}
{{/tags}}