Cursera: machine learning ex4.

This commit is contained in:
2015-03-08 11:38:13 +04:00
parent 67b4092b96
commit d8ecf43e80
16 changed files with 1378 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
function g = sigmoid(z)
%SIGMOID Compute sigmoid functoon
% J = SIGMOID(z) computes the sigmoid of z.
g = 1.0 ./ (1.0 + exp(-z));
end