📄 srgtsmodifykernelname.m
字号:
function ker = srgtsModifyKernelName(ker)
% This function is just to adjust SVMGunn to the SurrogatesToolBox
%
%One can use this function, even though it may not make any sense.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Felipe Antonio Chegury Viana Tushar Goel
% fchegury@yahoo.com tushar.goel@gmail.com
% http://fchegury.110mb.com/
%
% This program is free software; you can redistribute it and/or
% modify it. This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
switch ker
case 'Linear'
ker = 'linear';
case 'Polynomial'
ker = 'poly';
case 'GaussianRBF'
ker = 'rbf';
case 'MultiLayerPerceptron'
ker = 'sigmoid';
case 'LinearSpline'
ker = 'spline';
case 'LinearBSpline'
ker = 'bspline';
case 'TrigonometricPolynomial'
ker = 'fourier';
case 'ExponentialRBF'
ker = 'erbf';
case 'AnovaSpline-1'
ker = 'anovaspline1';
case 'AnovaSpline-2'
ker = 'anovaspline2';
case 'AnovaSpline-3'
ker = 'anovaspline3';
case 'AnovaBSpline'
ker = 'anovabspline';
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -