Maintainer | Kiet Lam <ktklam9@gmail.com> |
---|
AI.Calculation.Activation
Description
This module provides common activation functions and their derivative
Documentation
data Activation Source
Represents the activation of each neuron in the neural network
Constructors
Sigmoid | The sigmoid activation function |
HyperbolicTangent | The hyperbolic tangent activation function |
getActivation :: Activation -> ActivationFunctionSource
Get the activation function associated with an activation
getDerivative :: Activation -> DerivativeFunctionSource
Get the derivative function associated with an activation