Files
test/machine_learning/course2/assignment4/logistic.m

5 lines
70 B
Matlab

function ret = logistic(input)
ret = 1 ./ (1 + exp(-input));
end