![]() |
DiscretizationOptionsSymmetric Property |
Namespace: Accord.Statistics.Filters
If a symmetric threshold of 0.4 is used, for example, a real value of 0.5 will be rounded to 1.0 and a real value of -0.5 will be rounded to -1.0.
If a non-symmetric threshold of 0.4 is used, a real value of 0.5 will be rounded towards 1.0, but a real value of -0.5 will be rounded to 0.0 (because |-0.5| is higher than the threshold of 0.4).