| Copyright | (c) Alexander Ignatyev 2017 |
|---|---|
| License | BSD-3 |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
MachineLearning.NeuralNetwork.Regularization
Description
Regularization.
- data Regularization
- forwardReg :: Regularization -> [(Matrix, Matrix)] -> R
- backwardReg :: Regularization -> Matrix -> Matrix
Documentation
forwardReg :: Regularization -> [(Matrix, Matrix)] -> R Source #
Calcaulates regularization for forward propagation. It takes regularization parameter and theta list.
backwardReg :: Regularization -> Matrix -> Matrix Source #
Calculates regularization for step of backward propagation. It takes regularization parameter and theta.