|
|
|
|
|
| Description |
| Net module, defining functions to work on a neural network, which is a list of list of neurons
|
|
| Synopsis |
|
|
|
| Documentation |
|
| check :: [[Neuron]] -> Bool |
|
| nn :: [[Neuron]] -> [[Neuron]] |
|
| Computation
|
|
| computeNetU :: [[Neuron]] -> UArr Double -> UArr Double |
| Computes the output of the given neural net on the given inputs
|
|
| computeNet :: [[Neuron]] -> [Double] -> [Double] |
| Computes the output of the given neural net on the given inputs
|
|
| Quadratic Error
|
|
| quadErrorNetU :: [[Neuron]] -> (UArr Double, UArr Double) -> Double |
| Returns the quadratic error of the neural network on the given sample
|
|
| quadErrorNet :: [[Neuron]] -> ([Double], [Double]) -> Double |
| Returns the quadratic error of the neural network on the given sample
|
|
| globalQuadErrorNetU :: [[Neuron]] -> [(UArr Double, UArr Double)] -> Double |
| Returns the quadratic error of the neural network on the given samples
|
|
| globalQuadErrorNet :: [[Neuron]] -> [([Double], [Double])] -> Double |
| Returns the quadratic error of the neural network on the given samples
|
|
| Learning
|
|
| backPropU :: Double -> [[Neuron]] -> (UArr Double, UArr Double) -> [[Neuron]] |
| Train the given neural network using the backpropagation algorithm on the given sample with the given learning ratio (alpha)
|
|
| backProp :: Double -> [[Neuron]] -> ([Double], [Double]) -> [[Neuron]] |
| Train the given neural network using the backpropagation algorithm on the given sample with the given learning ratio (alpha)
|
|
| trainAux :: Double -> [[Neuron]] -> [(UArr Double, UArr Double)] -> [[Neuron]] |
|
| trainU :: Double -> Double -> [[Neuron]] -> [(UArr Double, UArr Double)] -> [[Neuron]] |
| Train the given neural network on the given samples using the backpropagation algorithm using the given learning ratio (alpha) and the given desired maximal bound for the global quadratic error on the samples (epsilon)
|
|
| train :: Double -> Double -> [[Neuron]] -> [([Double], [Double])] -> [[Neuron]] |
| Train the given neural network on the given samples using the backpropagation algorithm using the given learning ratio (alpha) and the given desired maximal bound for the global quadratic error on the samples (epsilon)
|
|
| Produced by Haddock version 2.4.2 |