Skip to content
Gun.io
November 14, 2026 · 12 min read

Machine Learning Interview Questions for Hiring Managers

Most machine learning interview questions in circulation are written for candidates studying definitions: bias and variance, regularization, the difference between bagging and boosting. Those topics matter, but a candidate can recite all of them and still ship a model that scores well offline and does nothing useful once it meets real data. The questions a hiring manager needs ask how the person frames a problem, keeps information from the future out of training, chooses a metric the business can act on, and keeps the model honest after launch.

All 15 machine learning engineer interview questions here work through one example: a network of outpatient clinics that wants to predict which patients will miss appointments, so staff can call them or fill the slot. The example is ordinary on purpose. It has delayed labels, an imbalanced outcome, a cost to every wrong prediction and patients who deserve to be treated fairly, which between them account for many of the ways applied machine learning goes wrong. The notes under each question describe what a strong answer usually touches on, as a starting point for discussion.

What These Questions Are Designed to Show

They show whether the candidate can take a model from a vague request to a system people rely on. The areas are framing, data and leakage, evaluation, fairness, production and monitoring. Weight them toward the role: a research-leaning position may need more depth in modeling, while most product teams need someone who is strongest at the steps around the model.

These questions target machine learning on structured data, the kind behind forecasts, risk scores and recommendations. Roles built around large language model applications need different questions about retrieval, evaluation and tool use. In either case, an interview gives you evidence about how someone reasons. How their models perform on your data and in your workflow is the real evidence.

Problem Framing Questions

1. The Clinics Want to “Predict No-Shows.” What Do You Ask First?

A strong candidate asks what will happen with the prediction before asking about data. If staff will phone the patients most likely to miss, the model needs to rank well among the top few dozen each day, because that is how many calls the front desk can make. If the clinics will double-book slots, the model needs probabilities that mean what they say. The same target supports two different products.

Listen for questions about the current process and its baseline. If reminder texts already go to everyone, the model has to beat that, and the candidate should want to measure it.

2. When Would You Recommend Not Using a Model?

Good candidates can say when a rule is enough. If most no-shows are patients who booked more than six weeks out, a simple rule may capture much of the value at a fraction of the effort, and it is easy for clinic managers to understand. Ask them to describe a project where they recommended a simpler approach. If they cannot think of one, ask how they decide whether a model is worth its maintenance cost.

Data and Leakage Questions

3. Which of These Features Would Leak Information?

Give the candidate a feature list that includes the patient’s appointment history, booking lead time, reminder response, check-in status and cancellation reason. Check-in status and cancellation reason are recorded at or after the appointment, so they will not exist at prediction time. Scikit-learn’s documentation defines data leakage as using information that would not be available at prediction time when building the model, which produces overly optimistic estimates and poorer performance on new data. Source: scikit-learn, common pitfalls and recommended practices

The harder cases are subtle: a “number of past no-shows” field computed over the full dataset includes the very appointment being predicted. A candidate who asks when each field is written, not just what it means, has been caught by this before.

4. How Would You Split the Data for Training and Testing?

A random split lets the model train on next month and test on last month. For a problem that changes over time, a time-based split is the better default: train on earlier periods, test on later ones. Scikit-learn’s TimeSeriesSplit exists for this reason, since other cross-validation methods would lead to training on future data and evaluating on past data. Source: scikit-learn, TimeSeriesSplit

Then raise patients who appear in both periods. A strong candidate discusses whether the model should be judged on patients it has seen before, new patients, or both, because the clinic’s real use includes both.

5. Only a Small Share of Appointments Are Missed. What Changes?

Accuracy stops being useful: a model that predicts “attends” for everyone can look accurate and do nothing. Good answers move to precision and recall at the operating point, precision-recall curves, and metrics tied to the action, such as how many of the top 40 flagged appointments each day were actually missed. Class weights or resampling can help training, but the candidate should keep the test set at its real distribution.

Evaluation and Fairness Questions

6. How Would You Choose the Decision Threshold?

The threshold is a business decision informed by the model. A candidate should ask what a call costs in staff time, what an empty slot costs, and how many calls each clinic can make per day, then choose a cutoff per clinic or a daily top-N list. Someone who answers “0.5” without asking is treating a ranking problem as a classroom exercise.

7. Do the Probabilities Need to Be Calibrated?

For phone reminders, ranking may be enough. For overbooking, the clinic needs to know that a predicted 30% chance of a missed appointment means roughly 30%. Scikit-learn’s calibration guide describes a well-calibrated classifier in exactly those terms, and notes that the calibrator should ideally be fitted on data independent of the data used to train the classifier. Source: scikit-learn, probability calibration

Follow up on how they would check calibration over time. A model calibrated on last year’s data can drift out of calibration after a change in the reminder process, even if its ranking stays good.

8. The Model Looks Good Offline. How Do You Know It Helps?

Offline metrics show the model can rank appointments; they do not show that calls change behavior. Strong answers propose a staged rollout or a controlled comparison in which some clinics or some days use the model, measured on an outcome the clinics care about, such as filled appointment slots. Watch for the feedback problem: once staff call flagged patients, some of those patients attend, so future labels reflect the intervention. A candidate who raises that unprompted has run models in a real workflow.

9. How Would You Check Whether the Model Treats Patient Groups Differently?

Slice performance by clinic, age band, preferred language and insurance type, and compare error rates and the share of each group flagged. Features such as home postal code can stand in for characteristics the clinic would never want to use directly. Good candidates treat the findings as a decision for clinical, legal and operations owners, and describe concrete options: remove or constrain a feature, set thresholds by group where policy allows, or change the intervention so that being flagged leads to help rather than a penalty such as losing a booking.

Production and Monitoring Questions

10. How Do You Make Sure Production Features Match Training?

Training-serving skew happens when the code that builds features for training differs from the code that builds them for scoring. The same scikit-learn guide shows how inconsistent preprocessing changes the feature space and degrades performance, and recommends pipelines that bundle transformations with the model. Strong answers go further: one feature definition used by both paths, tests that compare training and production feature values for the same records, and alerts when they diverge.

11. Should Scoring Run in Batch or in Real Time?

Appointments are booked days ahead, so a nightly batch that scores tomorrow’s and next week’s schedule is simpler to build, test and monitor. Real-time scoring would matter only if the clinic wanted to act at the moment of booking, for instance by offering an earlier slot. Look for a candidate who picks the simpler option when the workflow allows and can say what would change their mind.

12. How Do You Monitor a Model When Labels Arrive Later?

The label for a no-show only exists after the appointment date. In the meantime, the candidate can monitor input distributions (booking lead times, appointment types, new clinics), the distribution of predictions, and data quality on the features, then compute real performance once outcomes arrive. Ask what would trigger action. A specific threshold with an owner is better than “we would look at dashboards.”

13. How Would You Decide That a Retrained Model Is Better?

Compare the candidate and current model on the same recent time window, using the metric tied to the decision, and check slices as well as the overall number. Reproducibility matters: the training data version, code version and random seeds should be recorded so a result can be repeated. A strong candidate also plans how to roll back to the previous model quickly.

Modeling and Communication Questions

14. Gradient-Boosted Trees or a Neural Network for This Data?

For tabular data like appointment histories, gradient-boosted trees are a strong, common baseline: they handle mixed feature types, train quickly and are easier to explain. A neural network may make sense with very large data, text fields such as referral notes, or a need to share representations across tasks. The signal is a reasoned comparison with a plan to test both against the same split, not loyalty to one method.

15. A Clinic Manager Asks Why a Patient Was Flagged. What Do You Say?

A good answer explains the main factors behind that prediction in plain language, such as a long booking lead time and two recent missed visits, while being clear that feature attributions describe what the model uses, not what causes a patient to miss. The candidate should also say what the manager can do with the explanation. If nothing, the explanation may be the wrong tool and a short description of how the list is built may serve better.

Practical Assessments for Machine Learning Engineers

AssessmentLengthEvidence it producesLimitation
Notebook review with planted leakage and a random split45 minutesData judgment, evaluation habitsLess signal on production work
Scoped modeling exercise on a small realistic dataset2 to 3 hours, cappedFraming, baselines, metric choice, communicationNeeds a follow-up discussion
Production design discussion45 to 60 minutesServing, monitoring, retraining and rollbackDepends on interviewer depth

In the notebook review, ask the candidate to rank the problems by how badly each would mislead the clinic. Finding the leakage first, and explaining why the reported score cannot be trusted, matters more than commenting on code style.

Scoring Machine Learning Interviews

Score each area separately, writing down the specific answer that justified the score, so the debrief compares evidence rather than impressions. The descriptions below mark what mid-level and senior answers tend to show; like any interview rubric, they are an aid with no validated power to predict performance.

AreaTypical mid-level answerTypical senior answer
FramingConnects the model to an actionRecommends simpler approaches when they fit, defines success with the business
Data and leakageAvoids obvious leakage, uses time-based splitsFinds subtle leakage and designs evaluation around real use
EvaluationChooses metrics suited to imbalanceSets thresholds from costs and capacity, plans controlled rollouts
FairnessReports performance by groupLeads decisions on features, thresholds and interventions with owners
ProductionPackages a model with consistent featuresDesigns monitoring with delayed labels, retraining and rollback

Red Flags in Machine Learning Answers

Probe further when a candidate reports accuracy on an imbalanced problem, splits time-ordered data at random, uses a default threshold without asking about costs, cannot explain where a feature’s value comes from at prediction time, or measures success only offline. A habit of choosing the most complex model first deserves a follow-up too. One weak answer is a reason for another question; a pattern across the areas the role owns is a stronger signal.

How Gun.io Thinks About Machine Learning Fit

At Gun.io, the engineers we look for can explain the full path from a question someone asked to a model people use, including the parts that are not modeling. On a research system that detects contrails in satellite data to help reroute flights, the core logic had outgrown its thesis-era design once it needed real-time data from several sources. Part of the work was performance engineering on the computation around the model: the brief describes a 10x speedup in the C++ wind-advection engine that shifts flight tracks forward in five-minute intervals, along with build systems reworked to run across computing clusters.

Interviews with our team cover technical capability and professional fit, and because a model’s behavior in production is the real test, selection continues based on how engineers perform. If you are still deciding whether the role is modeling, data infrastructure or both, the comparison of data science and data engineering can help, and Gun.io’s AI implementation research report adds context on adopting these systems. You can also see how we work with machine learning engineers.

Frequently Asked Questions

How Does a Machine Learning Engineer Interview Differ From a Data Scientist Interview?

A machine learning engineer interview puts more weight on production: consistent features, serving, monitoring and retraining. A data scientist interview puts more weight on analysis, experimentation and statistical reasoning. Both should cover framing and leakage, because those mistakes affect every model regardless of who builds it.

Should Machine Learning Interviews Include Coding?

Yes, close to the work. Reviewing or extending a short training pipeline, writing a feature transformation with tests, or debugging an evaluation script all show more than abstract algorithm puzzles. Let candidates use the libraries they would use on the job.

How Much Math Should You Expect From a Machine Learning Candidate?

Enough to reason about what a model and its metrics are doing: probability, basic statistics, and how loss functions and regularization shape a model. Deriving algorithms from scratch is rarely needed outside research roles. Ask the candidate to explain a metric’s behavior on your data rather than recite its formula.

How Do You Interview a Machine Learning Candidate Without an ML Team?

Use the scenario questions and compare answers to written notes, then involve an experienced practitioner for the technical assessment, even from outside the company. Concrete stories about leakage caught, models retired and metrics changed are the strongest evidence a non-specialist can judge.

Should You Ask About Large Language Models in a Machine Learning Interview?

Ask if the role will use them, and keep the questions about evaluation and fit: when a fine-tuned or prompted model beats a simpler classifier, and how the candidate would measure it. For a role centered on building applications on top of language models, use a separate set of AI engineer questions.

What Separates a Senior Machine Learning Engineer?

Judgment about what not to build, and ownership after launch. Senior engineers set success criteria with the business, design evaluation that reflects real use, and build the monitoring and retraining that keep a model useful. Their stories usually include a model they decided to simplify or switch off.

Hire for Models That Survive Contact With Real Data

The machine learning engineer worth hiring treats leakage, thresholds and monitoring as part of the model, not chores around it. When you are ready to scope the role, talk to us about the prediction you need and what will happen with it: the data you have, the decision the model supports and who will own it once it is live.

Gun.io

Sign up for our newsletter to keep in touch!

This field is for validation purposes and should be left unchanged.

+1 (615) 541-8095

team@gun.io

© 2026 Gun.io