hopfield-0.1.0.1: Hopfield Networks, Boltzmann Machines and Clusters

Safe HaskellNone

Hopfield.Common

Documentation

type Weights = Vector (Vector Double)Source

type Pattern = Vector IntSource

type Bias = Vector DoubleSource

data Method Source

Constructors

Hopfield 
Boltzmann 
CBoltzmann 

Instances

Enum Method 
Eq Method 
Ord Method 
Show Method 

data Showable Source

Constructors

forall a . Show a => MkShowable a 

Instances

Show Showable 

pack :: Show a => a -> ShowableSource

packL :: Show a => [a] -> [Showable]Source

flipBit :: Method -> Int -> IntSource