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: 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 + =
减小字号Ctrl + -
显示快捷键?