Two tower architecture with two neural nets/multilayer perceptrons
1 tower processes the query, the other processes the candidate
Query can be a user in an user-2-item scenario (home feed) or an item in an item-2-item scenario (related items recommendation)
"How is this problem framed as a machine learning task?"
For candidate generation, it’s a supervised multi-class classification task: For each observation in the dataset, we want to accurately output the correct label among a set of possible ones
Perhaps we can use a softmax on the cosine similarity to determine likelihood of falling into the "too similar (cuisine)" etc label
Should MeaLeon return more than 5 recipes? or more than 1 page
Kinda think no
Presents too many choices for a simple app
Eventually when user data and history is stored, showing more than 5 choices is cluttered and excessive
Maybe have a way to unlock "slow query" if for some reason the user doesn’t like the top 5
TODO #MeaLeon show an example recipe for the user’s query