Threshold¶
Replaces array values whose magnitude is at or below the threshold with zero.
The thresholding method can be given as {method, delta}. Soft thresholding
shrinks each value toward zero by delta:
The non-negative garrote method: