?? svtol.m
字號:
function tol = svtol(C)
%SVTOL Tolerance for Support Vectors
%
% Usage: tol = svtol(C)
%
% Parameters: C - upper bound
%
% Author: Steve Gunn (srg@ecs.soton.ac.uk)
if (nargin ~= 1) % check correct number of arguments(如果變量數目不等于1,svtol子函數無效)
help svtol
else
% tolerance for Support Vector Detection
if C==Inf %如果c=無窮大
tol = 1e-5; %tol=
else
tol =C*1e-6; %tol=
end
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -