I have a certain amount of tuples, which contain a signed integer (between -1 and 1) and a five-star rating (where the higher the signed integer is, the more important the rating is).
I want to get an "average" rating, and beforehand I would just compute this, however it seems that it would be better if I weigh the rating using the accompanying integer. I tried min-max normalization and subsequently dividing by the sum, however the rating with smallest integer would get a weight of 0 (thus not count towards the final rating) and that is not what I want.
I am looking to use all ratings for the computation, but a rating in a tuple with a positive integer should be more important than a rating in a tuple with a negative integer, or a rating with a smaller integer. I can imagine there would probably be a lot of different ways to tackle this, but I'm just not sure what a nice systematic way is.
Thanks a lot, if there is anything unclear please let me know (: