HaskellNN-0.1.3: High Performance Neural Network in Haskell

MaintainerKiet Lam <ktklam9@gmail.com>

AI.Calculation.Activation

Description

This module provides common activation functions and their derivative

Synopsis

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