You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The _prepareEntry method of Epoch.Time.Heatmap is responsible for transforming a sparse histogram into the correct number of buckets (buckets option) given a range (bucketRange option). The way we currently do this is pretty lazy and generally considered to be "jank" (technical term). This can have some very weird effects on the graphical output of the plot, here's an example:
This should be a plot of a normal distribution stretched over the range [0, 100) across 45 buckets. Clearly there are some weird numerical errors cropping up due to the so-called "jankness" of our bucketing routine.
Here's what needs to be done:
Create a test in the tests/real-time/heatmap.html that reproduces the beahvior
Implement a better _prepareEntry method that does not suffer from this problem
The text was updated successfully, but these errors were encountered:
The
_prepareEntry
method ofEpoch.Time.Heatmap
is responsible for transforming a sparse histogram into the correct number of buckets (buckets
option) given a range (bucketRange
option). The way we currently do this is pretty lazy and generally considered to be "jank" (technical term). This can have some very weird effects on the graphical output of the plot, here's an example:This should be a plot of a normal distribution stretched over the range [0, 100) across 45 buckets. Clearly there are some weird numerical errors cropping up due to the so-called "jankness" of our bucketing routine.
Here's what needs to be done:
tests/real-time/heatmap.html
that reproduces the beahvior_prepareEntry
method that does not suffer from this problemThe text was updated successfully, but these errors were encountered: