?? dagsvm.m
字號:
function net = dagsvm(arg)
% PAIRWISE
%
% Construct a dag-svm multi-class support vector classification network.
%
% Examples:
%
% % default constructor (a 0-class dagsvm network!)
%
% net1 = dagsvm;
%
% % copy constructor
%
% net2 = dagsvm(net1);
%
% % construct dagsvm multi-class svc from a vector of two-class networks
%
% net3 = dagsvm(net)
%
% File : @dagsvm/dagsvm.m
%
% Date : Wednesday 13th September 2000
%
% Author : Dr Gavin C. Cawley
%
% Description : Constructor for a class providing a framework for constructing
% multi-class support vector classification networks from a set
% of two-class networks using the dagsvm rule. Part of an
% object-oriented implementation of Vapnik's Support Vector
% Machine, as described in [1].
%
%
if nargin == 0
% this is the default constructor
net.net = svc;
net = class(net, 'dagsvm');
elseif nargin == 1
if isa(arg, 'dagsvm');
% this is the copy constructor
net = arg;
end
elseif nargin > 1
% there are no other constructors
help dagsvm
else
net.net = arg;
net = class(net, 'dagsvm');
end
% bye bye...
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -