-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A tiny neural network -- -- Please see the README on Github at -- https://github.com/saschagrunert/nn#readme @package nn @version 0.2.0 -- | This module contains everything related to the main library interface module AI.Nn -- | The network type Network = Network' () -- | Calculates the output of a network for a given input vector predict :: Network -> [Double] -> [Double] -- | Create a new standard network for a number of layer and neurons new :: [Int] -> IO Network -- | Trains a network with a set of vector pairs until the global error is -- smaller than epsilon train :: Double -> Network -> [([Double], [Double])] -> Network instance GHC.Show.Show AI.Nn.Forward