News for hackers. Stuff that matters.
Re:I pulled data on 1378 restaurants from Google Maps to ran... by rollulus on Monday February 17, 2025 @01:26AM (#43075849)
I would rather go to a restaurant with a 4.9 rating based on 1000 reviews than to a restaurant with one with a 5 rating based on 1 review. Makes me wonder: how would that feeling translate into a ranking function though.
Re:I pulled data on 1378 restaurants from Google Maps to ran... by sideway on Monday February 17, 2025 @02:15AM (#43076110)
I've used this approach in the past with great success:

https://www.evanmiller.org/ranking-items-with-star-ratings.h...

All Evan Miller's posts on user ratings are excellent - https://www.evanmiller.org/ and search for "Mathematics of user ratings".

Re:I pulled data on 1378 restaurants from Google Maps to ran... by exmadscientist on Monday February 17, 2025 @01:33AM (#43075887)
So what did you think of the article's approach to this issue?
Re:I pulled data on 1378 restaurants from Google Maps to ran... by rollulus on Monday February 17, 2025 @01:54AM (#43075988)
Thanks for your comment, it made me do my homework. And apologies, I lazily viewed the first dozen rows and assumed that it was a simple high to low sort, and I was wrong. The author used https://en.m.wikipedia.org/wiki/Bayesian_average which answers my question. Cheers.
Re:I pulled data on 1378 restaurants from Google Maps to ran... by bogdan on Monday February 17, 2025 @05:12AM (#43077190)
Author did not use a bayesian average but the Wilson score interval.
Re:I pulled data on 1378 restaurants from Google Maps to ran... by laurynas-s on Monday February 17, 2025 @05:22AM (#43077265)
Re:I pulled data on 1378 restaurants from Google Maps to ran... by MattSayar on Monday February 17, 2025 @08:56AM (#43079041)
This is correct. By the way I confirmed it's the same way reddit does its "Best" sorting