Data Scientist Machine Learning Interview Questions

Practice 434 real Machine Learning interview questions for Data Scientist roles. From companies including Meta, Amazon, Google, Capital One, TikTok.

434 Questions 85 Companies08.03.2026
Showing 20 results
Role
Amazon logo
Amazon
Medium
Data Scientist

Optimize Predictive Analytics: Feature Engineering to Model Evaluation

End-to-End Predictive Analytics Project Walkthrough You are interviewing for a Data Scientist role. The interviewer asks you to describe a predictive ...

Machine Learning
20
0
66 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Choose Metrics for Evaluating Fake-User Classifier

Choose Metrics for Evaluating a Fake-User Classifier A sudden spike in daily average comments may be driven by fake users. You are asked to build a bi...

Machine Learning
19
0
50 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Develop a Restaurant-Recommendation Engine with Logistic Regression

Develop a Restaurant Recommendation Engine with Logistic Regression You are designing a restaurant recommendation engine for a social app. You need to...

Machine Learning
108
0
333 people solved
Jul 12, 2025
Amazon logo
Amazon
Medium
Data Scientist

Compare Regularization Techniques and Their Use Cases

Compare Regularization Techniques and Their Use Cases This technical phone screen asks about model evaluation, regularization, and regression basics f...

Machine Learning
14
0
62 people solved
Jul 12, 2025
Meta logo
Meta
Hard
Data Scientist

Evaluate Factors Before Replacing Recommendation Model

Evaluate Factors Before Replacing a Recommendation Model A large ads platform has built a new recommendation or ranking model and plans to deprecate t...

Machine Learning
63
0
275 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Design and Validate Initial Restaurant Recommendation Model

Design and Validate an Initial Restaurant Recommendation Model You are designing a first-iteration machine-learning model to recommend restaurants to ...

Machine Learning
29
0
112 people solved
Jul 12, 2025
Atlassian logo
Atlassian
Medium
Data Scientist

Minimize L1 Distance with k Cluster Centers in Array

One-Dimensional k-Center Clustering With L1 Distance You are given an array of n integers on a number line and an integer k, where 1 <= k <= n. Place ...

Machine Learning
16
0
65 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Employ Collaborative Filtering for Personalized Recommendation Lists

Collaborative Filtering and Ranking for Personalized Recommendation Lists You are releasing a new recommendation feature that must generate personaliz...

Machine Learning
40
0
129 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Classify Reviewers Using Bayesian Probability for Accuracy Analysis

Classify Reviewers With Bayesian Probability You are auditing reviewers who may be lazy or careful. Each reviewer completes n gold-standard review tas...

Machine Learning
92
0
255 people solved
Jul 12, 2025
Meta logo
Meta
Hard
Data Scientist

Design a Restaurant Recommendation System for Food Apps

Design a Restaurant Recommendation System for a Food-Ordering App You are designing an end-to-end recommendation system that suggests restaurants to u...

Machine Learning
34
0
102 people solved
Jul 12, 2025
Morgan Stanley logo
Morgan Stanley
Medium
Data Scientist Locked

Describe algorithm to find function maximum

This question evaluates understanding of gradient-based optimization and numerical methods for locating extrema, assessing competency in interpreting ...

Machine Learning
2
0
30 people solved
Dec 8, 2025
Hudson logo
Hudson
Medium
Data Scientist Locked

Derive expected inversions and mean distribution

This question evaluates understanding of permutation inversion statistics, computation of random-variable moments (expectation and variance), and the ...

Machine Learning
5
0
42 people solved
Nov 28, 2025
Squarespace logo
Squarespace
Medium
Data ScientistSenior+

Predict Seller Intent From Subscription Data

You are given a take-home dataset, seller_intent_take_home_dataset.csv, containing about 5,000 new subscription records from a website-building platfo...

Machine Learning
4
0
29 people solved
Oct 1, 2024
Bytedance logo
Bytedance
Medium
Data Scientist

Build and iteratively improve sentiment classifier

You need to build a sentiment classification model (e.g., positive/neutral/negative) for user-generated text. You already shipped an initial version, ...

Machine Learning
7
0
51 people solved
Nov 12, 2025
Two Sigma logo
Two Sigma
Medium
Data ScientistIntern

Why Is the Sample Mean Approximately Normal for Large Samples?

In statistics we routinely treat the average of a large sample as if it were normally distributed — for example, when building confidence intervals fo...

Machine Learning
3
0
23 people solved
Dec 1, 2024
TikTok logo
TikTok
Easy
Data Scientist Locked

How would you manage precision/recall for fraud detection?

This question evaluates a candidate's competency in applied machine learning for fraud detection, covering model performance measurement, thresholding...

Machine Learning
4
0
49 people solved
Oct 26, 2025
Cvs logo
Cvs
Easy
Data Scientist Locked

Reduce LLM hallucination and handle class imbalance

This question evaluates applied machine learning competencies including LLM safety and hallucination mitigation, retrieval-augmented generation and to...

Machine Learning
5
0
41 people solved
Oct 17, 2025
Hard
Data Scientist Locked

Derive and regularize logistic regression

This question evaluates proficiency in logistic regression theory and regularization, GLM versus OLS assumptions, class imbalance handling and calibra...

Machine Learning
3
0
26 people solved
Oct 13, 2025
Capital One logo
Capital One
Medium
Data Scientist

Build and evaluate donation propensity model

You need a model to maximize expected net revenue from solicitations. Costs: online reach costs $1 per person; gala attendance costs $100 per attendee...

Machine Learning
5
0
68 people solved
Oct 13, 2025
Meta logo
Meta
Hard
Data Scientist Locked

Design hashtag recommender with cold start

This question evaluates expertise in recommender-system design, feature engineering, ranking and learning-to-rank models, cold-start strategies, evalu...

Machine Learning
3
0
41 people solved
Oct 13, 2025

Explore more Data Scientist Machine Learning interview questions

Real questions from candidate reports, grouped by company, topic and role.

By company
Other categories for Data Scientist
Machine Learning questions for other roles
Browse all