Skip to content

Data Scientist & ML Engineer roadmap

Data Scientist & ML Engineer roadmap for 2–5 years experience

Move up to senior data scientist or ML engineer

With 2–5 years of experience, interviews test depth and production sense. Expect detailed ML questions on models you have used, an ML design or case round, and questions on how your models performed after launch.

YOUR ROADMAP

What to study, step by step.

6 steps. Each topic says what to learn and has a button to practise it.

  • Must doInterviews ask this. Do not skip.
  • ImportantDo it if you can.
  • OptionalOnly if you have extra time.
Not started yetYou finished 0 of 19 topics (0 of 9 must-do)

Saved on this device. No login needed.

Jump to a step:

  1. Step 1 · Weeks 1–3 (3 weeks)

    ML depth refresh

    Explain the models you use at the level of how and why, not just which library call.
    Must do

    Trees, random forests & gradient boosting

    Tree ensembles are the default for tabular data in industry, so expect detailed questions on how they work.

    What to learn
    • Decision trees: splits, Gini, entropy and pruning
    • Bagging and random forests
    • Gradient boosting: the idea and how XGBoost / LightGBM differ
    • Key hyperparameters and overfitting controls
    • Feature importance and SHAP at a practical level

    Expect questions on boosting internals and hyperparameter trade-offs.

    Must do

    Model evaluation & validation

    Choosing the right metric and validation scheme matters more than choosing the model, and interviewers know it.

    What to learn
    • Train / validation / test splits and cross-validation
    • Precision, recall, F1, ROC-AUC and PR-AUC
    • Regression metrics: RMSE, MAE and MAPE
    • Leakage, time-based splits and imbalanced data
    • Calibration and choosing a decision threshold
    • Offline metrics vs online business metrics

    Leakage, time-based validation and offline-online mismatch.

    Must do

    Feature engineering

    On real tabular problems, well-built features usually move results more than a fancier model.

    What to learn
    • Encoding categoricals: one-hot, target and frequency encoding
    • Scaling, binning and log transforms
    • Time-based and aggregate features
    • Avoiding leakage when building features
    • Training-serving skew and feature stores
    Important

    Linear & logistic regression

    The simplest models are asked about most deeply, because they reveal whether you understand assumptions and trade-offs.

    What to learn
    • Linear regression assumptions and how to check them
    • Logistic regression, the sigmoid and log loss
    • L1 and L2 regularisation and what each does
    • Interpreting coefficients and odds ratios
    • Bias-variance trade-off

    Regularisation and coefficient interpretation still come up.

    You are done with this step when:You can explain a past model end to end, including what you tried that did not work.

  2. Step 2 · Weeks 4–5 (2 weeks)

    Statistics, experiments & SQL

    Prove impact with experiments, not just offline metrics.
    Must do

    A/B testing & causal inference

    A better offline metric is not proof of impact, so you must know how to test a model in production.

    What to learn
    • Designing an A/B test for a model change
    • Sample size, power and guardrail metrics
    • Novelty effects and interference between users
    • Difference-in-differences and other quasi-experiments
    • Uplift modelling at a conceptual level
    Must do

    Statistics & hypothesis testing

    Statistics is how you decide whether a model or a change actually helped, and interviewers probe it with follow-up questions.

    What to learn
    • Sampling, bias and estimators
    • Hypothesis tests: t-test, chi-square and their assumptions
    • p-values, confidence intervals and statistical power
    • Multiple testing and false discoveries
    • Bootstrapping

    Power, multiple testing and bootstrapping.

    Must do

    SQL for data science

    Most data still lives in warehouses, and many DS loops include a SQL round that candidates underestimate.

    What to learn
    • Joins, GROUP BY and HAVING
    • Window functions: ROW_NUMBER, RANK, LAG / LEAD
    • CTEs for multi-step feature queries
    • Building a training dataset without leakage
    • Avoiding duplicate rows from bad joins

    Window functions and leakage-free training queries.

    You are done with this step when:You can design an A/B test for a model change and write its analysis query.

  3. Step 3 · Weeks 6–8 (3 weeks)

    Deep learning & LLMs

    Speak accurately about neural models and LLM systems, without overclaiming.
    Important

    NLP & LLMs

    Many teams now build on LLMs, and interviews test whether you understand retrieval, evaluation and cost rather than buzzwords.

    What to learn
    • Tokenisation, embeddings and the transformer at a high level
    • Retrieval-augmented generation: chunking, vector search and re-ranking
    • Prompting vs fine-tuning (including LoRA) and when each makes sense
    • Evaluating LLM outputs: test sets, human review and automated checks
    • Hallucination, latency and cost trade-offs

    Make this a must if the role is GenAI-focused; know RAG and evaluation well.

    Important

    Deep learning basics

    Know how neural networks train and when they beat classical models, without overclaiming experience.

    What to learn
    • Neurons, activations and backpropagation
    • Optimisers, batch size and learning-rate schedules
    • Overfitting controls: dropout, weight decay, early stopping
    • CNNs and sequence models at a conceptual level
    • Transfer learning with pretrained models in PyTorch
    Important

    AI-assisted workflow & responsible AI

    Data scientists are expected to use AI tools productively and judge when their output can be trusted, which is a different skill from building LLM systems.

    What to learn
    • Using AI coding assistants for EDA, feature code and plots, and checking for silent errors such as leakage and wrong joins
    • Prompting well for analysis and code: context, constraints, examples and reasoning you can check
    • Evaluating AI output you rely on: spot checks, reference answers and the limits of LLM-as-judge
    • Reproducibility: recording prompts, model versions and where AI shaped a result
    • Responsible AI in practice: privacy, bias, consent and what data must never go to an external model

    Use AI assistants daily with checks that catch leakage and silent bugs, and document where AI shaped a result.

    You are done with this step when:A small RAG or fine-tuning project with an evaluation set and measured results.

  4. Step 4 · Weeks 9–10 (2 weeks)

    MLOps & production

    Show you can take a model to production and keep it healthy.
    Must do

    MLOps: deployment & serving

    ML engineer loops in particular ask how a model moves from a notebook to a reliable production service.

    What to learn
    • Packaging a model behind an API (FastAPI) in a Docker container
    • Batch vs real-time inference
    • Experiment tracking and a model registry (for example MLflow)
    • CI/CD for models and reproducible training
    • Latency, throughput and cost of serving

    Essential for ML engineer roles; DS roles expect the basics.

    Important

    Monitoring, drift & retraining

    Models degrade silently after launch, and senior candidates are expected to have dealt with it.

    What to learn
    • Data drift vs concept drift
    • Monitoring inputs, predictions and business metrics
    • Delayed labels and proxy metrics
    • Retraining triggers and schedules
    • Rollbacks, shadow deployments and canaries

    You are done with this step when:A model served behind an API with tracking, a registry and a monitoring plan.

  5. Step 5 · Weeks 11–13 (3 weeks)

    ML system design & cases

    Design an ML system end to end within 45 minutes.
    Must do

    ML system design

    Design an end-to-end ML system: problem framing, data, features, model, serving, evaluation and monitoring.

    What to learn
    • A framework: business goal, ML framing, data, features, model, serving, monitoring
    • Classic prompts: fraud detection, feed ranking, search, ETA prediction, spam filtering
    • Online vs offline features and the latency budget
    • Labels, feedback loops and bias
    • Iterating from a simple baseline
    Important

    Product sense & DS case studies

    Many DS loops include a case where you frame a business problem and decide whether ML is even the right answer.

    What to learn
    • Turning a business goal into a measurable target
    • Choosing success metrics and guardrails
    • Diagnosing a metric drop
    • When a rule or heuristic beats a model
    • Explaining trade-offs to a product manager
    Important

    Recommendation & ranking systems

    Feeds, search and recommendations drive many Indian consumer apps and are common ML design prompts.

    What to learn
    • Collaborative filtering and matrix factorisation
    • Candidate generation and ranking as two stages
    • Implicit feedback and negative sampling
    • Ranking metrics: NDCG, MAP and recall at k
    • Cold start and popularity bias

    A common design prompt at consumer product companies.

    Optional

    Time-series forecasting

    Demand, supply and cash-flow forecasting are everyday problems in retail, logistics and fintech.

    What to learn
    • Trend, seasonality and stationarity
    • Baselines: naive, moving average and exponential smoothing
    • ARIMA at a conceptual level
    • Gradient boosting with lag features
    • Backtesting with rolling windows

    You are done with this step when:Three ML designs practised aloud: fraud detection, feed ranking and ETA prediction.

  6. Step 6 · Week 14 (1 week)

    Coding & stories

    Stay sharp for the coding screen and tell your impact clearly.
    Important

    Python for data science

    Python is the working language of the role, and live coding rounds expect clean, idiomatic code with numpy and pandas.

    What to learn
    • Core Python: comprehensions, generators, dicts and sets
    • numpy arrays, broadcasting and vectorisation
    • pandas: groupby, merge, apply and reshaping
    • Writing functions and classes that others can test
    • Virtual environments and dependency management

    Clean, tested code; some loops review your code quality.

    Important

    Data structures & algorithms (light)

    Product companies and ML engineer roles often include one coding round at easy-to-medium level.

    What to learn
    • Arrays, strings and hash maps
    • Two pointers and sliding window
    • Sorting, binary search and heaps
    • Trees and BFS / DFS basics
    • Big-O for time and space

    Keep medium arrays, hash maps and heaps warm.

    Must do

    Behavioral & project stories

    Explain the problem, your choices and what happened, including what did not work.

    What to learn
    • STAR structure for answers
    • A 2-minute walkthrough of your best project
    • Stories for a failed model, a deadline and disagreement on approach
    • Why this role: data science, ML engineering or analytics

    You are done with this step when:Five STAR stories written and one full mock interview done.

  7. You are interview-ready

    Now tailor your resume to each job and start applying.

SAVE YOUR TIME

Don't waste time on these (yet).

Popular topics that will not help your interviews at this stage.

  • Introductory ML courses

    You know the basics. Use question banks and your own past models to find specific gaps.

  • Comparing every LLM framework

    Libraries change quickly. Interviewers care about retrieval quality, evaluation and cost, not framework APIs.

  • Memorising the latest model names and benchmarks

    It dates within months. Understand the ideas behind transformers and fine-tuning instead.

  • LeetCode hard

    DS and ML loops at this level weigh ML depth and design far more than hard algorithms.

  • Reproducing research papers

    Valuable for research roles, but most industry loops reward production judgement over novelty.

THE INTERVIEW

What happens in the interview.

A typical set of rounds at this stage. Small startups may do fewer.

  1. 1

    Coding screen

    Python, pandas or SQL on a dataset, or a medium DSA problem for ML engineer roles.

  2. 2

    ML depth

    Detailed questions on models, metrics, leakage and the models you have shipped.

  3. 3

    ML design or case

    Frame a business problem and design the data, model, serving and evaluation.

  4. 4

    Statistics & experimentation

    Design and interpret an experiment for a model change.

  5. 5

    Hiring manager

    Impact, ownership and collaboration with engineering and product.

WHAT INTERVIEWS ASK MOST

Where to spend your time

Share of interview time, roughly, for data scientist & ml engineer roles at this stage.

  • Machine learning depth30%
  • ML system design & cases25%
  • Coding (Python, SQL & DSA)20%
  • Statistics & probability15%
  • Behavioral & leadership10%

FOR YOUR RESUME

What to show on your resume.

  • A model in production and the business metric it moved
  • An A/B test you designed that proved or disproved a model change
  • Pipelines, monitoring or tooling you built that others reuse
  • A measured LLM or deep learning project, if relevant to your target roles

NOT YOUR LEVEL?

Pick a different level.

A LITTLE MORE CLARITY

Data Scientist & ML Engineer roadmap: common questions

Data scientist or ML engineer: which should I target?

Data scientist roles lean towards statistics, experimentation and business problems; ML engineer roles lean towards software engineering, serving and MLOps. Many Indian companies blend them, so read the job description closely.

Do I need GenAI experience to switch jobs?

It helps for GenAI-focused roles, but many teams still hire mainly for classical ML and experimentation. A small, well-evaluated RAG project is enough to talk about it credibly.

What is an ML system design round?

You design an end-to-end system, such as fraud detection, covering problem framing, data, features, model, serving, evaluation and monitoring. Interviewers look for structure and trade-offs.

OTHER JOBS

All roadmaps

BUILD YOUR NEXT OPPORTUNITY

Start step 1 today.

Practise coding, system design and interview questions for free. Sign in to save progress on any device.

Get Started Free