nobias.m

来自「SVR程序,直接用就可以了,没有错误,其中还有一些变量需再编程序算,如:MSE」· M 代码 · 共 23 行

M
23
字号
function nb = nobias(ker)%NOBIAS returns true if SVM kernel has no implicit bias%%  Usage: nb = nobias(ker)%%  Parameters: ker - kernel type%%  Author: Steve Gunn (srg@ecs.soton.ac.uk)if (nargin ~= 1) % check correct number of arguments    help nobiaselse    switch lower(ker)        case {'linear','sigmoid'}            %,'anovaspline1','anovaspline2','anovaspline3'}            nb = 1;        otherwise            nb = 0;    endend

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?