HaskellNN-0.1.3: High Performance Neural Network in Haskell

MaintainerKiet Lam <ktklam9@gmail.com>

AI.Calculation.Cost

Description

This module provides common cost functions and their derivatives

Synopsis

Documentation

data Cost Source

Represents the cost model of the Neural Network

Constructors

MeanSquared

The mean-squared cost

Logistic

The logistic cost

getCostFunction :: Cost -> CostFunctionSource

Gets the cost function associated with the cost model

getCostDerivative :: Cost -> CostDerivativeSource

Gets the cost derivative associated with the cost model