www.gusucode.com > RBM > RBM/sigmoid.m
function g = sigmoid(z) %SIGMOID Compute sigmoid functoon g = 1.0 ./ (1.0 + exp(-z)); end