sgd-0.8.0.3: Stochastic gradient descent library

Safe HaskellNone
LanguageHaskell2010

Numeric.SGD.AdaDelta

Description

Provides the adaDelta function which implements the AdaDelta algorithm as described in the following paper:

Synopsis

Documentation

data Config Source #

AdaDelta configuration

Constructors

Config 

Fields

Instances
Eq Config Source # 
Instance details

Defined in Numeric.SGD.AdaDelta

Methods

(==) :: Config -> Config -> Bool #

(/=) :: Config -> Config -> Bool #

Ord Config Source # 
Instance details

Defined in Numeric.SGD.AdaDelta

Show Config Source # 
Instance details

Defined in Numeric.SGD.AdaDelta

Generic Config Source # 
Instance details

Defined in Numeric.SGD.AdaDelta

Associated Types

type Rep Config :: Type -> Type #

Methods

from :: Config -> Rep Config x #

to :: Rep Config x -> Config #

Default Config Source # 
Instance details

Defined in Numeric.SGD.AdaDelta

Methods

def :: Config #

type Rep Config Source # 
Instance details

Defined in Numeric.SGD.AdaDelta

type Rep Config = D1 (MetaData "Config" "Numeric.SGD.AdaDelta" "sgd-0.8.0.3-2sUF012Uk8gIqgMlYiSV0v" False) (C1 (MetaCons "Config" PrefixI True) (S1 (MetaSel (Just "decay") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double) :*: S1 (MetaSel (Just "eps") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double)))

adaDelta Source #

Arguments

:: (Monad m, ParamSet p) 
=> Config

AdaDelta configuration

-> (e -> p -> p)

Gradient on a training element

-> SGD m e p 

Perform gradient descent using the AdaDelta algorithm. See Numeric.SGD.AdaDelta for more information.