Predict Next-Week Streaming Engagement at Event Scale
Last updated: July 31, 2026
Quick Overview
The question asks the candidate to design a machine learning system that predicts next-week streaming engagement at an event scale, considering various factors that influence user behavior.
Spotify
July 31, 20263
0
34 solved
The question asks the candidate to design a machine learning system that predicts next-week streaming engagement at an event scale, considering various factors that influence user behavior.
This question is typically asked during the onsite interview round for a Machine Learning Engineer position at Spotify. The interviewer is evaluating the candidate's ability to think critically about system design, their understanding of machine learning principles, and their capability to handle large-scale data. The focus is on how well the candidate can integrate various data sources and model user engagement effectively.
What the Interviewer Expects
- Identify key metrics for measuring streaming engagement.
- Discuss data sources and features that could influence predictions.
- Outline the machine learning model selection process.
- Explain the evaluation metrics for model performance.
- Address potential challenges and scalability issues.
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- What specific features would you prioritize in your model?
- How would you handle missing or incomplete data?
- Can you describe a time when you faced a similar challenge in a project?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
To predict next-week streaming engagement, we need to define what engagement means in this context. This could involve metrics like total streams, average listening time, or user interactions. Underst...
High-Level Design
The system will consist of several components: data collection, preprocessing, feature engineering, model training, and deployment. We'll gather data from various sources such as user activity logs, e...