Evaluating bitrounded results with metrics? #74
Replies: 7 comments 2 replies
-
|
do you mean temporal metrics, eg. temporal mean? I would go for normalized error we could use metrics from https://xskillscore.readthedocs.io/en/stable/api.html#distance-metrics In general, I am not sure whether we can provide a general solution here. for simple metrics such as mean and std, the user can easily do this in see also milankl/BitInformation.jl#25 (comment)
|
Beta Was this translation helpful? Give feedback.
-
|
lets definately have a notebook how to deal with this. or even integrate just one plot into the |
Beta Was this translation helpful? Give feedback.
-
|
Note that both mean and standard deviation are not particularly insightful metrics for assessing bitrounding. Following the IEEE-754 standard, bitrounding is bias-free with respect to 0 and also for absolute values. Having said that, this is true for any data, as long as the assumption of a uniform distribution within ulp is true. If, for example, for some weird reason all your data is just larger than ulp/2 (ulp=unit in the last place, the distance between two adjacent representable numbers after rounding) there'll be a bias as every value is rounded up. But in practice, a bias-free rounding mode will not affect the mean. A similar argument holds for standard deviation: As long as the standard deviation is much larger than ulp then rounding will not affect it. |
Beta Was this translation helpful? Give feedback.
-
|
@christophernhill, what was the metric you were mentioning the other day where you experienced non-physical behavior for rounded values? |
Beta Was this translation helpful? Give feedback.
-
|
Yes
<u'T'> = <uT> - <u><T>
Chris
…On Thu, Jun 2, 2022 at 3:59 PM Rich Signell ***@***.***> wrote:
@christophernhill, what was the metric you were mentioning the other day where you experienced non-physical behavior for rounded values?
Was it eddy covariance?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Do you also get unacceptable errors when regridding the field instead of bitrounding? |
Beta Was this translation helpful? Give feedback.
-
|
@aaronspring and others - just came across this. I'll try and remind myself what we did in detail. We weren't doing a super systematic analysis! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To ease the decision on specific
keepbitsfor a simulation, it would be great to include some metrics into this package that can quantify the differences between bit-rounded and original values. The simplest being:These could also be enhanced by plotting routines that loop over possible
keepbits.Beta Was this translation helpful? Give feedback.
All reactions