📄 nobias.m
字号:
function nb = nobias(ker)%NOBIAS returns true if SVM kernel has no implicit bias%% Usage: nb = nobias(ker)%% Parameters: ker - kernel type% % Author: Zhou Weida (Zhouwd@rsp.xidian.edu.cn) if (nargin ~= 1) % check correct number of arguments help nobias else switch lower(ker) case {'linear','sigmoid','gammapdf','betapdf'}%,'anovaspline1','anovaspline2','anovaspline3'} nb = 1; otherwise nb = 0; end end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -