Math is not my forte, and I am in difficulty here.
Basically, all I need is a simple formula that gives a weighted rating on a scale of 1 to 5. If the votes are very small, they have less influence, and the rating print is larger on average (in this case I want it to be 3, not the average of all other ratings).
I tried several different Bayesian implementations, but they did not work. I believe that the graphic representation I'm looking for can be shown as:
___ / ___/
Greetings
I would do it this way
1*num(1) + 2*num(2) + 3*num(3) + 4*num(4) + 5*num(5) + A*3 ----------------------------------------------------------- num(1) + num(2) + num(3) + num(4) + num(5) + A
num (i) - i.A - . . , " ". , A , , , 3, A , , , 3.
, 5 - " ", A = 5.
, A 3 .
, .
(sum(ratings) / number(ratings)) * min(number(ratings), 10)/max(number(ratings), 10)
- . 5, 10. , , , -, . , , - ( ).
, . , - , , ?
Source: https://habr.com/ru/post/1739778/More articles:Is there such a CKEditor component for Delphi? - fckeditorScript for Ruby? - securityAdd a line under the navigationBar - iphoneHow do I manage many-to-many relationships? - relational-databaseКак сторонние инструменты резервного копирования SQL Server получают доступ к файлам баз данных для резервного копирования? - fileHow can I serve subversion from my IIS 7 server? - svnWhere to call RouteDebugger.RewriteRoutesForTesting () when route registration is introduced? - c #Interpreter in C ++: the problem of storing a function table - c ++Применение вопроса проектирования на основе политики - c++ImportError and Django make me go crazy - pythonAll Articles