MCPcopy Create free account
hub / github.com/TheAlgorithms/C / adaline_activation

Function adaline_activation

machine_learning/adaline_learning.c:105–105  ·  view source on GitHub ↗

[Heaviside activation * function](https://en.wikipedia.org/wiki/Heaviside_step_function) * @param x activation function input * @returns \f$f(x)= \begin{cases}1 & \forall\; x > 0\\ -1 & \forall\; x \le0 * \end{cases}\f$ */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

adaline_predictFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected