Skip to content

Commit 2959a43

Browse files
committed
content: latex equation in latest blogpost
1 parent bf1c762 commit 2959a43

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed
-30 KB
Binary file not shown.

public/posts/what-genre-should-i-watch.txt

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,18 @@ To get deeper insights, I needed better math than simple means.
9797

9898
How do you compare a movie with a 9.0 rating and 105 votes against an 8.2 rating with 500,000 votes? The latter score is more statistically significant.
9999

100-
I adopted IMDb's own **Weighted Rating** formula. This "Bayesian average" pulls a movie's rating toward the global average (C) if it has few votes (v),
101-
only allowing it to deviate as it gains more votes over a threshold (m).
102-
103-
![Weighted Rating](/images/posts/wgsiw/formula.png)
100+
I adopted IMDb's own **Weighted Rating** formula. This "Bayesian average" pulls a movie's rating toward the global average $C$ if it has few votes $v$,
101+
only allowing it to deviate as it gains more votes over a threshold $m$.
102+
103+
$$
104+
WR = \left( \frac{v}{v+m} \cdot R \right) + \left( \frac{m}{v+m} \cdot C \right)
105+
$$
106+
107+
**Where:**
108+
* $R$ = Average Rating of the movie
109+
* $v$ = Number of votes for the movie
110+
* $m$ = Minimum votes required to be listed (Threshold: 100)
111+
* $C$ = Mean vote across the whole dataset
104112

105113
This provided a fair "Quality Score" for every movie.
106114

0 commit comments

Comments
 (0)