nobias.m

来自「这是matlab中的一个例子」· 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 nobias  else         switch lower(ker)      case {'linear','sigmoid'}%,'anovaspline1','anovaspline2','anovaspline3'}        nb = 1;      otherwise        nb = 0;    end  end

⌨️ 快捷键说明

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