⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 srgtsmodifykernelname.m

📁 SVR程序,直接用就可以了,没有错误,其中还有一些变量需再编程序算,如:MSE
💻 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 + -