Katkat

practice a little every day, paws crossed ♡

Machine Learning Interview Questions

Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.

9403
Questions
546
Companies
11
Topics
8
Languages

Showing 391–420 of 572 results

  • OtherMediumData Scientist
    Design anomaly detection and handle imbalanced logistic regression

    Design a fraud detection setup for 50M transactions at a 0.4% fraud rate: a supervised logistic regression model plus an unsupervised anomaly detector for new merchants with no labels. Cover time-based splits, delayed labels, imbalance, calibration, and a cost-based threshold where a missed fraud costs far more than a false alarm.

    Machine LearningTechnical Screen
  • OtherHardData Scientist
    Predict job changes month by month

    This question evaluates competency in discrete-time survival modeling and end-to-end predictive system design, encompassing feature engineering, label/hazard formulation, leakage prevention, model evaluation, fairness assessment, and experimentation for production machine learning.

    Machine LearningOnsite
  • PDT PartnersMediumMachine Learning Engineer
    Project Deep Dive: Low-Latency LSTM Inference at Scale and the LSTM vs Transformer Choice

    A project deep dive on a small LSTM model served for large-scale, latency-sensitive inference. The candidate must explain the deployment hardware, latency requirement and use case, how inference latency was reduced, why an LSTM was chosen over a Transformer, and whether that choice still holds today.

    Machine LearningTechnical Screen
  • PayPalHardData Scientist
    Build a real-time ATO model

    This question assesses the ability to design an end-to-end, low-latency machine learning pipeline for detecting account takeover (ATO) in payment transactions, focusing on label noise, feature engineering, and system deployment constraints.

    Machine LearningTechnical ScreenReal-time SystemsFraud DetectionFeature Engineering
  • PayPalHardData Scientist
    Explain unsupervised fraud and evaluation

    Explain unsupervised fraud and evaluation 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.

    Machine LearningOnsite
  • PayPalMediumData Scientist
    How to validate production models?

    This question assesses the end-to-end strategy for validating a production-ready machine learning model, focusing on rigorous testing frameworks, drift detection, and business-risk mitigation.

    Machine LearningOnsiteModel ValidationProduction MLFraud Detection
  • PerplexityMediumMachine Learning Engineer
    Train and improve a scikit-learn binary classifier

    This problem tests your proficiency in the scikit-learn workflow, specifically focusing on data preprocessing, addressing class imbalance in imbalanced datasets, and selecting appropriate metrics beyond accuracy.

    Machine LearningTechnical Screenscikit-learnImbalanced DataModel Evaluation
  • PinterestHardMachine Learning Engineer
    Answer core ML fundamentals questions

    This question evaluates a candidate's mastery of core Machine Learning fundamentals, including classification metrics (precision and recall) with confusion-matrix interpretation, gradient concepts for optimization, ensemble learning tradeoffs, and the mechanics of a neural network forward pass.

    Machine LearningOnline Assessment
  • PinterestHardMachine Learning Engineer
    Bias-Variance Tradeoff and Vanishing Gradients in Feedforward Networks

    Tests theoretical and mathematical understanding of the bias-variance decomposition and the vanishing-gradient phenomenon during backpropagation in deep feedforward architectures.

    Machine LearningTechnical ScreenDeep LearningBackpropagationModel Generalization
  • PinterestMediumMachine Learning Engineer
    Explain bias–variance, overfitting, and vanishing gradients

    This question tests the conceptual understanding of the bias-variance tradeoff, methods for diagnosing and preventing overfitting, and the theoretical causes and architectural solutions for vanishing gradients in deep learning.

    Machine LearningTechnical ScreenDeep LearningBias-Variance TradeoffRegularization
  • PinterestEasyMachine Learning Engineer
    Explain learning-rate fluctuation and vanishing gradients

    This question evaluates a candidate's understanding of optimization dynamics (effects of learning rate on training stability) and backpropagation-related issues (vanishing gradients) in deep neural networks, assessing competencies in training behavior and gradient propagation within the Machine Learning domain.

    Machine LearningTechnical Screen
  • PinterestHardMachine Learning Engineer
    Explain overfitting and how to prevent it

    This question evaluates understanding of overfitting, the relationship between training and validation performance and generalization, and knowledge of regularization concepts including differences between L1 and L2 penalties.

    Machine LearningTechnical Screen
  • PinterestHardMachine Learning Engineer
    Explain overfitting, underfitting, and regularization

    This question tests the conceptual understanding of the bias-variance tradeoff and the practical application of regularization to balance model complexity and generalization error.

    Machine LearningTechnical ScreenBias-VarianceRegularizationGeneralization
  • PinterestHardData Scientist
    Explain your ML project end-to-end

    This question evaluates a data scientist's end-to-end machine learning competencies, including problem framing and metric justification, data sourcing and labeling, model selection and calibration, class-imbalance handling, deployment and monitoring, experimentation design, and post-mortem analysis; it is in the Machine Learning domain and tests both conceptual understanding and practical application across modeling and MLOps. It is commonly asked to assess an interviewee's ability to justify trade-offs, reason about operational constraints such as latency, fairness and cost, design valid evaluation and A/B testing strategies, and define measurable monitoring and rollback criteria.

    Machine LearningTechnical Screen
  • PinterestHardMachine Learning Engineer
    Implement Naive Bayes classifier from scratch

    This question evaluates understanding of probabilistic classification, specifically competence in estimating class priors, feature likelihood parameters, and computing posterior scores for Naive Bayes variants.

    Machine LearningOnline Assessment
  • PinterestHardMachine Learning Engineer
    Implement bagging with decision trees

    This question evaluates a candidate's competency in ensemble learning and practical implementation skills, including bootstrap sampling, decision tree base learners, aggregation via majority voting with tie-breaking, and managing data using pure Python lists and standard library routines.

    Machine LearningOnline Assessment
  • PinterestMediumData Scientist
    Optimize Hyper-parameter Search to Prevent Combinatorial Explosion

    Evaluates Python grid-search generation and hyperparameter optimization strategy. Strong answers yield lazy Cartesian-product combinations and discuss random search, Bayesian optimization, pruning, early stopping, and budget limits.

    Machine LearningOnsite
  • PinterestHardMachine Learning Engineer
    Prevent Vanishing Gradients in Deep Networks

    Tests a candidate's mathematical understanding of the vanishing gradient problem in deep neural networks and their ability to evaluate architectural mitigations including weight initialization, activation functions, residual connections, and normalization layers.

    Machine LearningTechnical ScreenDeep LearningOptimizationNeural Networks
  • PinterestHardData Scientist
    Verify Machine-Learning Fundamentals for E-commerce Recommendation Platform

    This interview question evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer for Verify Machine-Learning Fundamentals for E-commerce Recommendation Platform states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Machine LearningOnsite
  • Point72MediumQuantitative Researcher
    Compare Missing-Value Strategies for Linear Models

    Compare mean, random empirical, and indicator-assisted imputation for linear models under MCAR, MAR, and MNAR without training leakage.

    Machine LearningOnline Assessment
  • Point72MediumQuantitative Researcher
    Compare Two Equity Risk Models

    Compare two equity risk models out of sample using forecast calibration, residual structure, stability, coverage, regimes, and portfolio impact.

    Machine LearningOnline Assessment
  • Point72MediumQuantitative Researcher
    Defend a Quantitative Factor Research Project

    Practice defending quantitative factor construction, information coefficient, model selection, backtesting, and research improvements.

    Machine LearningTechnical Screen
  • Point72MediumMachine Learning Engineer
    Design Features for Residual Volatility

    This problem tests the ability to decompose financial asset returns into systematic and idiosyncratic components and design features to capture residual volatility.

    Machine LearningTechnical ScreenTime-SeriesFinanceFeature Engineering
  • Point72MediumQuantitative Researcher
    Encode Categorical Variables Across Model Families

    Choose categorical encodings for linear, tree, and neural models while handling intercept rank, unseen values, and high cardinality.

    Machine LearningOnline Assessment
  • Point72MediumQuantitative Researcher
    Explain Ensemble Learning and Its Main Families

    Explain why combining multiple models can improve predictions. Cover data and labels, leakage-safe features, baselines and model choice, offline evaluation, deployment constraints, monitoring, and drift.

    Machine LearningTechnical Screen
  • Point72MediumData Scientist
    Explain How L1 and L2 Regularization Change Linear-Model Coefficients

    This question tests the conceptual understanding of how L1 and L2 penalties influence the optimization objective and the resulting structure of the weight vector in a linear regression model.

    Machine LearningOnsiteRegularizationLinear RegressionOptimization
  • Point72MediumQuantitative Researcher
    Explain Transformer Encoder and Decoder Behavior

    This question evaluates knowledge of Transformer architecture and generative language modeling, specifically the encoder versus decoder roles, attention patterns and causal masking, plus mechanisms behind stochastic text generation such as sampling and temperature.

    Machine LearningTechnical Screen
  • Point72HardData Scientist
    Explain and tune decision trees robustly

    The question evaluates a candidate's understanding of CART decision tree mechanics, split criteria and surrogate splits for missing values, hyperparameter tuning and pruning, overfitting diagnostics, preprocessing for large feature sets and high‑cardinality categoricals, and criteria for choosing ensemble methods within the Machine Learning domain.

    Machine LearningOnline Assessment
  • Point72HardData Scientist
    How would you explain PCA and SHAP?

    A Point72 Data Scientist technical screen asking you to defend one end-to-end ML project: problem framing and label timing, leakage controls, time-based validation, feature engineering, hyperparameter tuning, dimensionality reduction with PCA, and model interpretability with SHAP. Expects the PCA optimization objective and SVD link, the Shapley principle behind SHAP, plot interpretation, and the pitfalls of each.

    Machine LearningTechnical Screen
  • Quantbot TechnologiesHardData Scientist
    Build a Data-Cleaning and Machine-Learning Pipeline Without Leakage

    Design schema-aware cleaning, appropriate data splits, training-only fitted transformations, reusable inference state, and validation for missing or unseen inputs.

    Machine LearningOnline Assessment