mlpack
|
Go to the source code of this file.
Classes | |
class | mlpack::ann::SoftShrink< InputDataType, OutputDataType > |
Soft Shrink operator is defined as, \begin{eqnarray*} f(x) &=& \begin{cases} x - \lambda & : x > \lambda \\ x + \lambda & : x < -\lambda \\ 0 & : otherwise. \\ \end{cases} \\ f'(x) &=& \begin{cases} 1 & : x > \lambda \\ 1 & : x < -\lambda \\ 0 & : otherwise. \end{cases} \end{eqnarray*} . More... | |
Namespaces | |
mlpack | |
Linear algebra utility functions, generally performed on matrices or vectors. | |
mlpack::ann | |
Artificial Neural Network. | |
The soft shrink function has threshold proportional to the noise level given by the user. The use of a Soft Shrink activation function provides adaptive denoising at various noise levels using a single CNN (Convolution Neural Network) without a requirement to train a unique CNN for each noise level.
mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.