srgtsmodifykernelname.m
来自「SVR程序,直接用就可以了,没有错误,其中还有一些变量需再编程序算,如:MSE」· M 代码 · 共 54 行
M
54 行
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 + =
减小字号Ctrl + -
显示快捷键?