Topic
Machine Learning interview questions
572 Machine Learning questions from 133 companies, with hints, runnable code and solution walkthroughs.
59 easy323 medium190 hard
Machine Learning interview questions by the numbers
Last updated
Katkat has 572 Machine Learning interview questions from 133 companies; the most come from Amazon (10%), OpenAI (6%) and Meta (5%). By difficulty: 10% easy, 56% medium and 33% hard. The most common round is Technical Screen (61%). Frequent concepts include Machine Learning, Feature Engineering, Model Evaluation and Optimization.
Companies (133)
Difficulty
- Easy10% · 59
- Medium56% · 323
- Hard33% · 190
Interview rounds
- Technical Screen61% · 348
- Onsite28% · 163
- Online Assessment8% · 46
- HR Screen3% · 15
Roles
- Data Scientist46% · 264
- Machine Learning Engineer35% · 202
- Software Engineer9% · 53
- Applied Scientist5% · 26
- Quantitative Researcher2% · 13
Frequent concepts
- Machine Learning7% · 39
- Feature Engineering5% · 29
- Model Evaluation4% · 23
- Optimization4% · 23
- Deep Learning4% · 21
- System Design3% · 18
Most mentioned in interview experiences
- 1.Answer core ML fundamentals questions2 reports
- 2.Compare deep learning framework trends2 reports
- 3.Evaluate Factual Accuracy and Consistency in a Domain-Specific RAG Chatbot2 reports
- 4.Explain Core ML Interview Concepts2 reports
- 5.Explain Overfitting and Transformer Attention2 reports
- 6.Explain SHAP in an ML System2 reports
- 7.Implement bagging with decision trees2 reports
- 8.Present and defend your data challenge end-to-end2 reports
- 9.Analyze Temperatures and Update Regression1 report
- 10.Analyze Town Temperatures and Select Predictors for NYC1 report
Counted from 122 candidate interview experiences on Katkat. How we collect and count
Showing 61–90 of 572 results
This question evaluates a candidate's understanding of batch gradient descent for linear regression with an intercept, covering concepts such as mean squared error optimization, vectorized matrix operations, analytical gradient computation, learning rate schedules, stopping criteria, feature scaling, and L2 regularization.
AmazonData ScientistMachine LearningOnsiteThis question evaluates understanding of core machine learning concepts—learning paradigms (supervised, unsupervised, self-supervised), loss functions, and embeddings—and the competency to explain their roles and interrelations in model training and inference.
AncestrySoftware EngineerMachine LearningTechnical ScreenAnthropic Fellows final-round practice: a 15-minute open discussion on defining, detecting and training against misalignment and misuse, ending with one falsifiable experiment.
AnthropicMachine Learning EngineerMachine LearningOnsiteThis question evaluates debugging and implementation knowledge for on-policy reinforcement learning, focusing on GRPO/PPO-style training loops, importance-sampling ratios, log-prob computations, masking, and advantage normalization.
AnthropicSoftware EngineerMachine LearningTechnical ScreenAnthropic Fellows debugging-OA practice: find the eight crash and accuracy bugs in a from-scratch NumPy Extra-Trees classifier until it matches scikit-learn.
AnthropicMachine Learning EngineerMachine LearningOnline AssessmentTests your ability to design a controlled synthetic experiment demonstrating double descent, explain the mathematical causes of test error divergence near the interpolation threshold, and analyze the interplay between noise, conditioning, and regularization.
AnthropicMachine Learning EngineerMachine LearningHR ScreenThis question tests your ability to design a robust, production-grade batch inference pipeline, focusing on data consistency, system reliability, and scalability.
AnthropicMachine Learning EngineerMachine LearningOnsiteAnthropic Fellows final-round practice: complete temperature/top-k/top-p sampling and a batched KV-cache decode loop in a Colab notebook so greedy output matches model.generate.
AnthropicMachine Learning EngineerMachine LearningOnsiteTests your ability to analyze AI alignment failure modes—specifically sycophancy and emotional over-reliance—and formulate rigorous evaluation metrics, training mitigations, and product-level guardrails.
AnthropicSoftware EngineerMachine LearningHR ScreenThis question evaluates implementation and analysis skills for scaled dot-product attention, testing competencies in efficient tensorized PyTorch coding, numerical stability and mixed-precision handling, masking semantics (causal and padding), multi-head shape correctness, and unit-test validation including gradient and edge-case behavior.
AnthropicSoftware EngineerMachine LearningOnsiteThis question evaluates understanding and practical implementation of neural network fundamentals, specifically analytic backpropagation and gradient derivation, numerically stable binary cross-entropy computation, parameter initialization, gradient descent updates, and gradient checking.
AnthropicSoftware EngineerMachine LearningOnsiteThis question evaluates proficiency in computer vision machine learning fundamentals (including bias–variance tradeoffs, overfitting, class imbalance, evaluation metrics, threshold selection, calibration, and data leakage), probabilistic reasoning for performance interpretation, and production model diagnosis and root-cause analysis.
AppleMachine Learning EngineerMachine LearningOnsiteThis question tests your understanding of architectural improvements in Deep & Cross Networks (DCN) and your ability to design a rigorous A/B testing strategy for model deployment in a high-stakes production environment.
AppleMachine Learning EngineerMachine LearningTechnical ScreenThis question evaluates understanding of audio data preprocessing and end-to-end model training, assessing competencies in feature representation choices, normalization, segmentation, augmentation, and pipeline orchestration within machine learning for audio.
AppleMachine Learning EngineerMachine LearningTechnical ScreenThis question tests practical machine learning engineering skills, specifically the ability to construct an end-to-end classification pipeline for imbalanced tabular data. It evaluates knowledge of preprocessing, model validation, probability calibration, and production packaging — core competencies assessed in data scientist interviews.
AppleData ScientistMachine LearningTechnical ScreenThis question evaluates a data scientist's competency in designing an end-to-end query-routing system between an on-device personal assistant and a large language model assistant, encompassing objectives, success metrics, ground-truth labeling, feature and model choices, ambiguity and multi-turn handling, and evaluation strategies.
AppleData ScientistMachine LearningTechnical ScreenThis question tests your ability to calculate output dimensions, parameter counts, and computational costs (FLOPs/MACs) in CNNs, while requiring you to justify architectural choices like depthwise convolutions and normalization layers.
AppleData ScientistMachine LearningOnsiteThis question evaluates understanding of vision encoders and their role in computer vision and multimodal models, familiarity with typical training approaches for encoders, and the ability to identify inference bottlenecks in large language models as well as knowledge of memory and latency optimization considerations.
AppleMachine Learning EngineerMachine LearningTechnical ScreenThis question tests a machine learning engineer's understanding of annotation reliability metrics and the trade-offs between human and LLM-based evaluation. It assesses conceptual and applied knowledge of inter-annotator agreement, metric selection across label types, and the validity of automated judges in model evaluation workflows.
AppleMachine Learning EngineerMachine LearningTechnical ScreenThis question evaluates competency in end-to-end supervised classification and production machine learning systems, covering text feature engineering (bag-of-words), ensemble evaluation via out-of-bag methods, CTR prediction workflows including calibration and evaluation, and operational debugging of deployed models.
AppleMachine Learning EngineerMachine LearningOnsiteThis question tests the ability to implement the core mechanics of a Transformer's multi-head attention mechanism, specifically focusing on linear projections, attention weight scaling, and causal masking.
AppleMachine Learning EngineerMachine LearningTechnical ScreenThis question evaluates expertise in implementing and engineering a memory- and compute-efficient Random Forest for binary classification, covering ensemble methods, CART/Gini impurity, OOB evaluation and calibration, class-imbalance handling, reproducibility, parallel and thread-safe system design, and streaming/warm-start model updates.
AppleData ScientistMachine LearningOnsiteThis question evaluates knowledge of positional encoding mechanisms for Transformer language models, covering embedding mathematics, tensor shapes and broadcasting, PyTorch implementation details, expected training and inference symptoms when positional information is omitted, and methods for empirical verification and ablation.
Applied IntuitionMachine Learning EngineerMachine LearningTechnical ScreenThis question evaluates algorithmic problem-solving skills and understanding of clustering and optimization concepts, specifically the 1D k-center (minimax L1) problem, greedy feasibility tests, binary-search-on-answer techniques, numerical stability with large coordinates, and time/space complexity analysis relevant for a Data Scientist role.
AtlassianData ScientistMachine LearningOnline AssessmentThis question evaluates proficiency in supervised binary classification with logistic regression, implementation of L1 and L2 regularization, data preprocessing (missingness checks and standardization), hyperparameter selection via cross-validation, and model evaluation using ROC AUC and threshold-dependent metrics.
AtlassianData ScientistMachine LearningTechnical Screen- Explain 3D geometry dataMedium
Explain 3D geometry data evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
AutodeskMachine Learning EngineerMachine LearningTechnical Screen Explain what a neural network is: how units and layers turn weighted inputs into outputs, why non-linear activations are essential, and how the weights are learned with a loss function, backpropagation, and gradient descent. It tests core machine learning fundamentals, including overfitting and when simpler models are the better choice.
Axq CapitalSoftware EngineerMachine LearningHR ScreenThis question evaluates core probability and machine learning statistics competencies including probability basics, descriptive statistics, correlation versus independence, linear regression and regularization, and dimensionality reduction (PCA), falling under the Machine Learning domain for Data Scientist roles and testing both conceptual understanding and practical application. Such multi-part theory questions are commonly asked to probe understanding of fundamental statistical concepts and modeling assumptions, ensuring the candidate can reason about uncertainty, estimator properties, multicollinearity, and eigenstructure without relying solely on implementation details.
Bank of AmericaData ScientistMachine LearningTechnical ScreenAssesses understanding of the assumptions underlying ordinary least squares linear regression and the application of diagnostic methods to ensure unbiased parameter estimates and valid statistical inference.
BnpData ScientistMachine LearningTechnical ScreenThis question evaluates probabilistic classifier calibration, threshold selection to achieve a target precision, handling severe class imbalance, and precision–recall based evaluation metrics.
Boston Consulting GroupData ScientistMachine LearningOnline Assessment