www.gusucode.com > stats 源码程序 matlab案例代码 > stats/mysigmoid.m

    function G = mysigmoid(U,V)
% Sigmoid kernel function with slope gamma and intercept c
gamma = 1;
c = -1;
G = tanh(gamma*U*V' + c);
end