Ranking Items With Star Ratings

Job ID: 34642623

Budget: $30 – $250 USD

Need C# Programming to implement the attached Bayesian Statistics ranking equation described on the Evan Miller webpage titled “Ranking Items With Star Ratings.” (https://www.evanmiller.org/ranking-items-with-star-ratings.html). A pdf copy of the webpage is attached.

The objective is to calculate item rankings using the approach described in the above web page. The web page only discusses star ratings as integers, but the preferred solution would support Double values if practical. The precision of the calculation may be reduced to make the calculation simpler or faster, so long as the relative rankings of the items are not significantly affected.

The solution must be implemented using C# in Visual Studio 2022. Third party libraries are fine provided they do not require an additional paid subscription/license for use.

For validation and demonstration of the solution, I have attached an input data set of 53,006 records, with tab delimited fields containing an item identifier, a reviewer identifier, and the star rating that the reviewer assigned to the item. The stars in the sample data range from zero to five, not one to five. Please allow the star rating to have decimal places if it would not overly complicate the implementation.

The desired output data set would list the items and their calculated star rating, with decimal places.

No GUI required.