注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
本帖最后由 ACEgolden 于 2024-10-3 16:52 编辑
來貢獻個新鮮Spotify MLE面經
1. ML domain interview
Project Deep Dive
問了大概十五分鐘
接著share screen問了一個情境題
We want to predict the % of hours that the user will listen to music next week using historical data (e.g past few weeks of data)
The PM comes and told you the signal → “If a user listens to music at least 1 min in an hour then we will consider this hour as active”
問:你覺得這個signal是否合理?我們要不要push back?我們該怎麼定義target variable去approach requirements?
接著討論features,假定使用xgboost
Features
– categorial features (user_region, device_type, ……)
回答:可以one hot encoding + topk
面試官不滿意,表示這樣會有discrimatnation
回答:user_region如果<250的話應該還是可以全用上
面試官不滿意,但move on下一個了
– high cardinality features (track_id, top na, Work
# 3, Drake, Passionfruit
# …
3. ML System Design
討論一個ranking problem,著重在engeering decision
feature consistency, model serving, model versioning, how to deploy the model, how to preprocess features (package in the model job or in the query job?), how to serve embeddings, how to retrain the model?
問題很雜,其他忘了,面試官會要求提出不同design以及trade off,對工作上常寫doc的人來說應該駕輕就熟。
4. Values
常規BQ輪 |