hardshrink.hpp File Reference
Include dependency graph for hardshrink.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  HardShrink< InputDataType, OutputDataType >
 Hard Shrink operator is defined as,. More...



Linear algebra utility functions, generally performed on matrices or vectors.
Artificial Neural Network.

Detailed Description

Lakshya Ojha

Same as soft thresholding, if its amplitude is smaller than a predefined threshold, it will be set to zero (kill), otherwise it will be kept unchanged. In order to promote sparsity and to improve the approximation, the hard thresholding method is used as an alternative.

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.

Definition in file hardshrink.hpp.