再论Matlab的libsvm的安装(2)
发布时间:2021-06-07
发布时间:2021-06-07
matlab
Location: D:\Program Files\Microsoft Visual Studio 8
Are these correct?([y]/n): y
*************************************************************************** Warning: MEX-files generated using Microsoft Visual C++ 2005 require
that Microsoft Visual Studio 2005 run-time libraries be
available on the computer they are run on.
If you plan to redistribute your MEX-files to other MATLAB
users, be sure that they have the run-time libraries.
You can find more information about this at:
***************************************************************************
Trying to update options file: C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R2007a\mexopts.bat
From template: D:\PROGRA~2\MATLAB\R2007a\bin\win32\mexopts\msvc80opts.bat
Done . . . % ok,done!
>> make
>>
%至此彻底完成,
%以下是测试
>>load heart_scale.mat
>>model = svmtrain(heart_scale_label, heart_scale_inst, '-c 1 -g 0.07');
>> [predict_label, accuracy, dec_values] = svmpredict(heart_scale_label, heart_scale_inst, model); %
Accuracy = 86.6667% (234/270) (classification)% done
上一篇:边缘型人格障碍的概念及临床表现
下一篇:天然气制氢题库