All jobs / Data science / ML / AI / Statistics

Data science / ML / AI interview question · 3–5 years

You rank products by average rating. A new item with one 5-star review sits above an item rated 4.6 over 2,000 reviews. What do you change?

The strongest answer

Shrink each item’s average toward a prior — the overall mean — with weight that grows with its review count, so one review barely moves it and 2,000 reviews speak for themselves

Why it works

Right — a Bayesian average: prior mean plus evidence, weighted by how much evidence there is. Small samples get pulled to the middle.

What a good answer covers

Answers that fall short

Who gets asked this

More Statistics questions