Projects4 of 7
ReelRank
Film recommendations from the films you love, computed entirely in your browser.
ReelRank recommends films from the ones you already love. It compares three approaches (popularity, content similarity and EASE collaborative filtering) trained offline on 32 million MovieLens ratings, then runs the chosen model in your browser. There’s no server and no account; your lists stay on your device.
- +56.7%
- NDCG@10 for EASE over popularity: 0.1118 against 0.0713
- 32M
- MovieLens ratings, split by time rather than at random
- 1.1e-16
- largest score difference between the browser and Python on 12 reference cases
- 0
- servers. Ranking runs in your browser
Measuring it fairly
| Approach | Precision | Recall | NDCG | MRR | Coverage |
|---|---|---|---|---|---|
| Popularity | 0.060 | 0.039 | 0.143 | 0.077 | |
| Content similarity (TF-IDF) | 0.015 | 0.011 | 0.055 | 0.210 | |
| EASE | 0.083 | 0.077 | 0.233 | 0.261 |
- The split is chronological: train on ratings before 2022, validate on 2022, and test on January to October 2023, so the model never sees the future it’s judged on.
- 500 test users (seed 42) are ranked against the full pool of 2,300 candidate films, with no negative sampling to flatter the numbers.
- EASE’s regularisation was chosen on the validation year (λ = 1000), and the gap to popularity comes with a paired bootstrap 95% interval of 0.026 to 0.055.
A result I didn’t keep
Using all of someone’s favourites instead of their latest 20 looked better (NDCG 0.1229 against 0.1118), but the 95% interval ran from slightly negative to positive, so I report it as not a reliable gain. The cap on favourites was removed anyway, because it wasn’t buying anything either.
Next: Running a recommender in the browserRunning a recommender in the browser
- The browser downloads only the rows of the EASE matrix it needs, as Float32 files, and sums them in double precision. The content-similarity vectors stay sparse.
- Model files are split into parts with SHA-256 checksums and reassembled at build time.
- A parity check runs 12 reference profiles through both Python and JavaScript: identical top-10 lists, with the largest score difference about 1.1 × 10⁻¹⁶. Three of the twelve are empty-profile fallbacks.
Films newer than the dataset
- MovieLens stops in 2023, so recent films come from a separate content model over genres, titles and TMDB synopses. A recent pick needs a cosine similarity of at least 0.08 and a shared genre.
- Metadata is joined on exact TMDB IDs with no fuzzy matching; the 23 that didn’t resolve were dropped rather than guessed, leaving 2,277 films.
- A daily job fetches and validates a fresh catalogue but only stages it; publishing is a deliberate step.
Limits and next
Where it falls short
- All results are offline: there’s no evaluation of brand-new users and no testing with real users yet.
- The recent-film blend hasn’t been benchmarked, and the trimmed catalogue favours established films.
- Lists live only in the browser’s local storage.
What’s next
- A held-out evaluation for recent films once later ratings exist.
- A five-person usability round.
- Publishing catalogue refreshes automatically.
Built with
Interface
Services
Models
Delivery
Testing
Bigger tiles are tools I use in more places, across my projects and my job at Payaza.
