module Apatite::LinearAlgebra
Extended Modules
Direct including types
Defined in:
apatite/linear_algebra/error.crapatite/linear_algebra/vector.cr
apatite/linear_algebra/matrix/eigenvalue_decomposition.cr
apatite/linear_algebra/matrix/lup_decomposition.cr
apatite/linear_algebra/matrix.cr
apatite/linear_algebra.cr
apatite/linear_algebra/ndarray.cr
Instance Method Summary
-
#sigmoid(input : Number)
Calculates the sigmoid curve for a numeric input.
-
#sigmoid_d(input : Number)
Calculates the derivative sigmoid curve for a numeric input.
Instance Method Detail
def sigmoid(input : Number)
#
Calculates the sigmoid curve for a numeric input.
f(x) = 1/(1 + e^-x)
See also: Sigmoid function (WikiWand)
def sigmoid_d(input : Number)
#
Calculates the derivative sigmoid curve for a numeric input.
f'(x) = f(x)(1 - f(x)),