News for hackers. Stuff that matters.
Re:Show HN: $4.4B in Startup Funding Rounds Visualized by pnachbaur on Wednesday June 25, 2014 @12:27AM (#7942240)
You could use median instead of filtering out outliers explicitly so your averages don't get skewed.
Re:Show HN: $4.4B in Startup Funding Rounds Visualized by viggity on Wednesday June 25, 2014 @12:48AM (#7942294)
Median might solve some of that issue, unfortunately it is computationally heavy to do median on a rolling basis, unlike average. Part of the reason the filters work so quickly is because when I add or remove items from the active set, I can just add/subtract from the total and the count for that one item. With median, I'd have to keep the active list sorted which even with a binary tree under the covers is still more expensive than two math operations. The filtering library under the cover is crossfilter.