Learn the skills
Machine Learning Roadmap: What to Learn, in Order, to Get Hired
By the AIJobDesk team · Updated
A practical machine learning roadmap has six stages: Python and data handling, the core math, classical machine learning, deep learning, a specialty such as LLMs or computer vision, and production skills like deployment and monitoring. With steady part-time study, most people reach job-ready in 9 to 18 months.
A practical machine learning roadmap has six stages: Python and data skills, core math, classical machine learning, deep learning, one specialty such as LLMs or computer vision, and production skills like deployment and monitoring. Build a project at the end of each stage. Studying part time, most people reach job-ready in 9 to 18 months; experienced software engineers often do it faster.
This guide lays out each stage, what to learn, which resources to use, the project that proves you've finished it and the mistakes that slow people down.
What does a machine learning roadmap look like?
Here's the full path at a glance:
| Stage | Focus | Typical time (part time) | Milestone project |
|---|---|---|---|
| 1 | Python, pandas, SQL, Git | 6 to 10 weeks | Analysis of a real dataset |
| 2 | Linear algebra, calculus, probability, statistics | Ongoing, 6 to 8 weeks focused | Implement linear regression from scratch |
| 3 | Classical ML with scikit-learn | 8 to 12 weeks | End-to-end tabular model with honest evaluation |
| 4 | Deep learning with PyTorch | 8 to 12 weeks | Train and fine-tune a neural network |
| 5 | Specialty: LLMs, vision, NLP, recommendations | 8 to 12 weeks | Domain project with an evaluation set |
| 6 | Production: deployment, MLOps, system design | 6 to 10 weeks | Deployed model with monitoring |
The stages overlap. Keep learning math as you go, and start production habits like Git and clean code from day one.
Stage 1: Python and data handling
Machine learning work is mostly data work. Before models, get comfortable with:
- Python fundamentals: functions, classes, list comprehensions, virtual environments, reading errors.
- NumPy and pandas: arrays, vectorized operations, groupby, merge, pivot, handling missing values.
- Visualization: matplotlib or seaborn for quick plots.
- SQL: joins, aggregations and window functions. Almost every ML job uses it.
- Git and the command line: commit, branch, push, open a pull request.
Resources: the official Python tutorial, Kaggle Learn's Python and pandas courses, and our guide to Python for AI.
Milestone: pick a public dataset you care about (city bike trips, sports stats, housing listings), clean it and answer three real questions with charts in a notebook pushed to GitHub.
Stage 2: The math you actually need
You need intuition more than proofs. Focus on:
- Linear algebra: vectors, matrices, matrix multiplication, dot products, eigenvectors at an intuitive level.
- Calculus: derivatives, partial derivatives, the chain rule, gradients.
- Probability: distributions, conditional probability, Bayes' rule, expectation and variance.
- Statistics: sampling, confidence intervals, hypothesis tests, bias and variance.
Learn each topic when a model needs it. When you meet gradient descent, review derivatives. When you meet PCA, review eigenvectors. Our full guide to math for machine learning explains how deep to go for each role.
Milestone: implement linear regression with gradient descent in NumPy and confirm it matches scikit-learn's answer.
Stage 3: Classical machine learning
This is the core of the roadmap. Learn the concepts that apply to every model:
- Supervised versus unsupervised learning.
- Train, validation and test splits; cross-validation; time-based splits.
- Overfitting, regularization and the bias-variance tradeoff.
- Metrics: accuracy, precision, recall, F1, ROC-AUC, PR-AUC, MAE, RMSE.
- Feature engineering, scaling, encoding categorical variables.
- Data leakage and how to spot it.
Then the main algorithms: linear and logistic regression, k-nearest neighbors, decision trees, random forests, gradient boosting (XGBoost, LightGBM), k-means and PCA.
Resources: Andrew Ng's Machine Learning Specialization, the scikit-learn user guide and Hands-On Machine Learning with Scikit-Learn, Keras and TensorFlow by Aurélien Géron.
Milestone: an end-to-end project on tabular data: define the problem, build a baseline, train a gradient-boosted model, evaluate it properly and write up what the model means for a decision. Kaggle is a good place to practice here; see our guide on using Kaggle for your career.
Stage 4: Deep learning
Now move to neural networks with PyTorch, the most common framework in industry and research:
- Tensors, autograd and the training loop.
- Multilayer perceptrons, activation functions, loss functions, optimizers (SGD, Adam).
- Convolutional networks for images.
- Embeddings, attention and transformers.
- Regularization: dropout, weight decay, normalization, early stopping.
- Transfer learning and fine-tuning pretrained models.
- Training on a GPU (free tiers on Google Colab or Kaggle notebooks work for learning).
Resources: fast.ai's Practical Deep Learning, the PyTorch tutorials at pytorch.org, and Andrew Ng's Deep Learning Specialization.
Milestone: fine-tune a pretrained model on your own dataset, such as an image classifier for something you photographed or a text classifier for a niche domain, and report results against a simple baseline.
Stage 5: Pick a specialty
Employers hire for specific problems. Choose one area based on the jobs you want:
- LLMs and generative AI: prompting, retrieval-augmented generation, fine-tuning with LoRA, evaluation, agents. See our guide to learning generative AI.
- Computer vision: detection, segmentation, video, edge deployment.
- NLP: classification, extraction, search, multilingual models.
- Recommendations and ranking: candidate generation, learning to rank, embeddings.
- Time series and forecasting: demand, finance, operations.
- Reinforcement learning: robotics, games, control and LLM post-training.
Browse listings for LLM engineers, computer vision engineers and NLP engineers to see which skills each one asks for.
Milestone: a domain project with a real evaluation set. This is the centerpiece of your AI portfolio.
Stage 6: Production and MLOps
What separates hireable ML engineers from course graduates is the ability to ship:
- Packaging code into modules, writing tests, type hints.
- Serving a model behind an API with FastAPI.
- Docker and basic Kubernetes concepts.
- Experiment tracking with MLflow or Weights & Biases.
- Pipelines and scheduling with Airflow or Prefect.
- Monitoring for data drift and performance decay.
- One cloud platform: AWS, Google Cloud or Azure.
- ML system design: how the pieces fit at scale.
Milestone: deploy your stage 5 project as a service with a simple monitoring dashboard and a retraining script.
How long does the whole roadmap take?
At 10 to 15 hours a week:
- Months 1 to 3: stages 1 and 2.
- Months 4 to 6: stage 3, with two tabular projects.
- Months 7 to 9: stage 4.
- Months 10 to 12: stage 5, with a portfolio centerpiece.
- Months 13 to 15: stage 6, then interview prep and applications.
Software engineers can usually compress stages 1 and 6 to a few weeks. People with strong math backgrounds move through stage 2 quickly. For a detailed look at timing, read how long it takes to become a machine learning engineer.
Should your roadmap lead to data science or ML engineering?
The first three stages are the same. After that the paths split:
| Data science track | ML engineering track | |
|---|---|---|
| Go deeper on | Statistics, experiment design, causal inference, SQL | Software engineering, deployment, pipelines, system design |
| Typical daily work | Analysis, A/B tests, models that inform decisions | Building and running models inside products |
| Key tools | SQL, pandas, statsmodels, notebooks, BI tools | PyTorch, Docker, Kubernetes, feature stores, cloud ML |
| Job page | Data scientist jobs | Machine learning engineer jobs |
If you enjoy answering questions and influencing decisions, lean toward data science. If you enjoy building systems that run without you, lean toward ML engineering. You can switch later; the foundations carry over.
How do you know you're ready to apply?
You don't need to finish every stage. Start applying when you can tick most of these:
- You can clean and analyze a new dataset in pandas and SQL without looking up basics.
- You can explain overfitting, regularization and precision versus recall with examples.
- You've trained and evaluated both a gradient-boosted model and a neural network on your own data.
- You have two projects on GitHub with READMEs, baselines and results tables.
- At least one project is deployed or runnable with one command.
- You can talk through any project for 20 minutes, including what went wrong.
Common roadmap mistakes
- Tutorial loops. Watching course after course without building. Cap courses and build after each one.
- Math paralysis. Spending six months on linear algebra before writing code.
- Skipping classical ML. Jumping straight to LLMs leaves gaps interviewers find in minutes.
- No evaluation habits. Every project needs a baseline and a metric.
- Learning every framework. PyTorch plus scikit-learn is enough for almost everyone.
- Applying too late. Start applying once you have two solid projects; interviews teach you what's missing.
Next step
When you reach stage 5, read the full guide on how to become a machine learning engineer for the job search side, and start reading listings on our machine learning engineer jobs page to match your projects to what employers want. Right now we list 10 open roles for that role, with 10% of them remote.
Ready to apply? Browse Machine Learning Engineer jobs
Frequently asked questions
- How do I start learning machine learning as a complete beginner?
- Start with Python, then learn pandas and NumPy by analyzing a dataset you care about. Next take one structured machine learning course, such as Andrew Ng's Machine Learning Specialization, and train simple models with scikit-learn. Learn math alongside, as each topic comes up, rather than spending months on math before touching code.
- How long does the machine learning roadmap take?
- For someone starting from scratch and studying 10 to 15 hours a week, reaching job-ready usually takes 9 to 18 months. Software engineers often move faster, in 4 to 8 months, because they already have programming and deployment skills. The biggest variable is how much time you spend building real projects rather than watching courses.
- Is MATLAB used for machine learning?
- MATLAB has machine learning toolboxes and is still used in some engineering, signal processing and academic settings. For almost all AI and ML jobs, though, Python is the standard, with libraries like PyTorch, scikit-learn and pandas. If you're choosing what to learn for a career, learn Python first.
- Should I learn machine learning or deep learning first?
- Learn classical machine learning first. Concepts like train-test splits, overfitting, regularization and evaluation metrics apply to deep learning too, and they're easier to understand with simple models. Many real business problems on tabular data are also best solved with classical models like gradient-boosted trees, so the skills pay off directly.
- Do I need a degree to follow a machine learning roadmap into a job?
- Not always. Many ML engineers and AI engineers have computer science degrees, and research roles often require graduate degrees. But applied roles increasingly hire people who can prove skills through projects, open-source work or prior engineering experience. A strong portfolio matters more than the credential for many applied jobs.
- Is the roadmap different for data science and ML engineering?
- The early stages are the same. After classical ML, data scientists go deeper on statistics, experimentation and SQL, while ML engineers go deeper on software engineering, deployment, pipelines and system design. Pick your direction around stage four, based on whether you enjoy analysis and decisions or building systems.