x = 5
.v = [x1, x2, x3]
A = [ a11 a12 ]
[ a21 a22 ]
A = [ 1 2 ] A^T = [ 1 3 ]
[ 3 4 ] [ 2 4 ]
a · b = Σ (ai * bi)
A * A^-1 = I
(where ( I ) is the identity matrix).
Output = 1 if (w · x + b > 0), else 0
σ(x) = 1 / (1 + e^(-x))
0
for negative inputs and the input itself for positive inputs:
ReLU(x) = max(0, x)
tanh(x) = (e^x - e^(-x)) / (e^x + e^(-x))
0
or 1
based on whether the input is below or above a threshold.