Synapse-0.1.0.2: Synapse is a machine learning library written in pure Haskell.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Synapse.NN.Models

Description

Provides interface for creating and using neural network models.

Synopsis

Common for models

newtype InputSize Source #

InputSize newtype wraps Int - amount of features of input that the model should support (InputSize 3 means that model supports any matrix with size (x, 3)).

Constructors

InputSize Int 

SequentialModel datatype

newtype SequentialModel a Source #

SequentialModel datatype represents any model grouping layers linearly.

Constructors

SequentialModel 

Fields

buildSequentialModel :: InputSize -> [LayerConfiguration (Layer a)] -> SequentialModel a Source #

Builds sequential model using input size and layer configurations to ensure that layers are compatible with each other.

layerPrefix :: SymbolIdentifier -> Int -> SymbolIdentifier Source #

Forms prefix for layers according to AbstractLayer requirements.