Sigmoid Function: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 19: Line 19:
Used by:
Used by:


* [[Neural_Networks#Individual_Neuron|Neural network activation units with logistic functions]]
* [[Neural_Networks#Individual_Neuron|Neural network units with logistic activation functions]].


==Logistic Function MATLAB Implementation==
==Logistic Function MATLAB Implementation==

Revision as of 02:03, 4 January 2018

External

Internal

Overview

Often, the sigmoid function refers to a special case of the logistic function.

Logistic Function

LogisticFunction.png
LogisticFunctionGraph.png

Used by:

Logistic Function MATLAB Implementation

%
% Compute the logistic function of z, where z can be a scalar, vector or matrix
%
function s = logistic(z)
s = 1 ./ (1 + (e .^ (-1 .* z)));
end