Commit 3dc7fc3e authored by Marco Herzog's avatar Marco Herzog

Fixed documentation error in NeuralNetwork.hs

parent 70b1fd2f
......@@ -182,6 +182,9 @@ update (m:matrices) (u:updates) learningRate = m - fmap (*learningRate) u : upda
gradients :: [Matrix Float] -- ^ The 'weight' matrix
-> [Matrix Float] -- ^ The 'bias' matrix
-> [Matrix Float] -- ^ The activations calculated by
-> Matrix Float -- ^ The error for a layer initialised with 0 and calculated recursively
-> [(Matrix Float, Matrix Float)]
gradients [] _ _ _ = []
gradients _ [] _ _ = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment