📄 svc.m
字号:
function net = svc(arg, sv, w, bias)
%
if nargin == 0
% this is the default constructor
net.kernel = linear;
net.sv = [];
net.w = [];
net.bias = 0;
net = class(net, 'svc');
elseif nargin == 1
if isa(arg, 'svc');
% this is the copy constructor
net = arg;
end
elseif nargin > 6
% there are no other constructors
help svc
else
net.kernel = arg;
net.sv = sv;
net.w = w;
net.bias = bias;
net = class(net, 'svc');
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -