資源簡介
此SVM_GUI是基于libsvm-FarutoUltimate3.0,所以你需要實現安裝該工具箱。會用libsvm-FarutoUltimate的朋友,這個GUI一看就會用,里面的參數的輸入就是原來libsvm-FarutoUltimate里面的輸入要求,不多說了。

代碼片段和文件信息
function?varargout?=?SVC(varargin)
%?SVC?M-file?for?SVC.fig
%??????SVC?by?itself?creates?a?new?SVC?or?raises?the?existing
%??????singleton*.
%
%??????H?=?SVC?returns?the?handle?to?a?new?SVC?or?the?handle?to
%??????the?existing?singleton*.
%
%??????SVC(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?SVC.M?with?the?given?input?arguments.
%
%??????SVC(‘Property‘‘Value‘...)?creates?a?new?SVC?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?SVC_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?SVC_OpeningFcn?via?varargin.
%
%??????*See?GUI?Options?on?GUIDE‘s?Tools?menu.??Choose?“GUI?allows?only?one
%??????instance?to?run?(singleton)“.
%
%?See?also:?GUIDE?GUIDATA?GUIHANDLES
%?Edit?the?above?text?to?modify?the?response?to?help?SVC
%?Last?Modified?by?GUIDE?v2.5?27-Jan-2010?21:44:15
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
????‘gui_Singleton‘??gui_Singleton?...
????‘gui_OpeningFcn‘?@SVC_OpeningFcn?...
????‘gui_OutputFcn‘??@SVC_OutputFcn?...
????‘gui_LayoutFcn‘??[]??...
????‘gui_Callback‘???[]);
if?nargin?&&?ischar(varargin{1})
????gui_State.gui_Callback?=?str2func(varargin{1});
end
if?nargout
????[varargout{1:nargout}]?=?gui_mainfcn(gui_State?varargin{:});
else
????gui_mainfcn(gui_State?varargin{:});
end
%?End?initialization?code?-?DO?NOT?EDIT
%?---?Executes?just?before?SVC?is?made?visible.
function?SVC_OpeningFcn(hobject?eventdata?handles?varargin)
%?This?function?has?no?output?args?see?OutputFcn.
%?hobject????handle?to?figure
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)
%?varargin???command?line?arguments?to?SVC?(see?VARARGIN)
%?Choose?default?command?line?output?for?SVC
handles.output?=?hobject;
%?Update?handles?structure
guidata(hobject?handles);
%?UIWAIT?makes?SVC?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?SVC_OutputFcn(hobject?eventdata?handles)
%?varargout??cell?array?for?returning?output?args?(see?VARARGOUT);
%?hobject????handle?to?figure
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)
%?Get?default?command?line?output?from?handles?structure
varargout{1}?=?handles.output;
%?javaframe?=?get(gcf‘Javaframe‘);
%?set(javaframe‘Maximized‘1);
%?---?Executes?on?button?press?in?load.
function?load_Callback(hobject?eventdata?handles)
%?hobject????handle?to?load?(see?GCBO)
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)
[filenamepathnamefilterindex]?=?uigetfile({‘*.mat‘;‘*.
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????52376??2011-07-18?09:19??SVC.m
?????文件???????2753??2011-07-18?09:20??SVM_GUI.fig
?????文件???????3675??2010-01-26?21:14??SVM_GUI.m
?????文件??????23716??2011-07-18?09:19??SVR.fig
?????文件??????64762??2011-07-18?09:18??SVR.m
?????文件????????911??2010-01-25?10:07??testdata\fisheriris_test.mat
?????文件????????568??2010-02-02?15:06??testdata\regress_test.mat
?????文件???????6089??2010-01-26?13:01??testdata\wine_test.mat
?????文件???????1142??2011-07-18?09:23??readme.txt
?????文件??????20001??2011-07-18?09:20??SVC.fig
?????目錄??????????0??2010-02-02?20:57??testdata
-----------?---------??----------?-----??----
???????????????175993????????????????????11
- 上一篇:8UFTP 8UFTP
- 下一篇:Beagle bone black 原理圖
評論
共有 條評論