sigm.m

来自「模式识别工具箱,本人毕业论文时用到的,希望对大家有用!」· M 代码 · 共 22 行

M
22
字号
%SIGM Sigmoid map% % 	W = W*sigm% 	B = sigm(A)% % Sigmoidal transformation from map to classifier, producing % posterior probability estimates. % See also datasets, mappings, classc% Copyright: R.P.W. Duin, duin@ph.tn.tudelft.nl% Faculty of Applied Physics, Delft University of Technology% P.O. Box 5046, 2600 GA Delft, The Netherlandsfunction w = sigm(a)if nargin == 0	w = mapping('sigm','fixed');else	w = 1./(1+exp(-a));endreturn

⌨️ 快捷键说明

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