www.gusucode.com > 人脸相似匹配源码程序 > 人脸相似匹配源码程序/FaceRec/kfun_sigmoid.m

    function K = kfun_sigmoid(U,V,P1,P2)
% Sigmoid 核函数
K = tanh(P1*(U*V')+P2);