It’s movie night. Everyone is scrolling, and nobody wants to pick. Frame turns a few familiar films into solo recommendations or a shortlist friends can vote on.
The first version recommended beer
I started with BeerAdvocate ratings and tasting profiles, then added a Belgian catalog so people could start with familiar beers. The join brought in 3,221 new Belgian beer IDs, but catalog coverage and rating coverage were two different problems. For example, Frame’s beer prototype knew Tripel LeFort’s style and alcohol content, yet had no historical ratings for it in the training data.
That mattered in practice. When we tried a profile built around Stella, Jupiler, Maes and Tripel LeFort, the recommendations did not feel useful enough. Content similarity could suggest comparable styles, but adding brewery and flavor metadata did not create the shared rating histories that collaborative models need. I paused the beer prototype and reused the training and evaluation pipeline for movies, where I could test familiar titles and serve the distinct use case of choosing with friends.
A useful pick for one person or six
Solo recommendations
A new viewer might rate five films, all five stars. That is a useful signal about their favorites and a weak basis for fitting a new latent profile. I compared seven models and made EASE blend the default. It combines regularized movie associations with item k-NN, falls back when a title lacks usable signals, and shows its evidence when a visitor asks why. Steck’s EASE paper.
A high average can hide a film that one person would strongly prefer to skip. I convert each person’s scores into percentiles over the same candidate pool, after excluding films anyone already rated. The default ranking gives 60% weight to average fit and 40% to the lowest fit. The shortlist shows each friend’s fit and lets them vote.
MovieLens 32M provides about 32 million ratings. I sampled complete histories for 10,000 users, kept all 87,585 titles searchable and fit the saved run on 924,998 ratings. I split the histories by time, used validation to choose settings, held back later ratings for testing, and used only tags available by the training cutoff. MovieLens data citation.
NDCG@10 on held-out ratings. Higher scores put relevant films closer to the top.
Viewer cohort
Viewers
Item k-NN
EASE blend
Established viewers
153
0.1183
0.2234
New profile, three ratings
54
0.0559
0.0700
New profile, five ratings
54
0.0632
0.0817
Established viewers saw the biggest gain. The five-rating improvement was smaller, with a paired 95% bootstrap interval of about +0.002 to +0.038. These results measure individual rankings on the MovieLens sample. The next open question is whether real groups prefer the balanced shortlist and reach a decision faster.
The dashboard lets readers change the cohort, list length, metric and baseline. I added a Models & Metrics guide and a Data view so they can trace the numbers back to the model run and split.
I wanted visitors to try the same app I ran locally, without renting a compute server. The portfolio is a static site, while Frame needs a Python process and about 214 MB of deployment files, mostly trained model data. I kept training offline, packaged both saved runs, and served them with FastAPI on my Android phone through Homedroid.
PortfolioVisitors follow Try Frame
Cloudflare TunnelPublic HTTPS reaches the app
HomedroidFastAPI scores with saved models
The biggest deployment hurdle was dependency compatibility. Homedroid runs Alpine Linux on ARM. The pinned scikit-learn release had no matching prebuilt wheel, so I compiled it on the phone using Homedroid’s deployment worker. An early attempt tied the build to a browser terminal, and the build stopped when that terminal disconnected. Running it in the worker let it finish independently.
I routed a dedicated public hostname to Frame’s app port and verified solo recommendations, explanations, group shortlists, both saved runs and the benchmark over HTTPS before linking it from the CV. The phone and my home connection now handle the serving workload, so there is no rented compute instance and availability depends on my hardware and network. Cloudflare Tunnel documentation.