Roadmap
14–24 months
4 phases
~57 weeks

Machine Learning Roadmap

The roadmap from programming beginner to machine learning practitioner, covering the math, Python, classical ML, and deep learning needed for real ML work.

Reviewed by the FreeCodingCourses.com editorsLast reviewed: How we review

  1. Phase 1:Prerequisites

    beginner
    6 weeks

    Python

    Strong Python fundamentals including OOP, list comprehensions, and the scientific stack.

    intermediate
    4 weeks

    Linear Algebra

    Vectors, matrices, matrix multiplication, eigenvalues. These are the math behind neural networks.

    intermediate
    3 weeks

    Calculus

    Derivatives, chain rule, and gradients, the math behind backpropagation.

    intermediate
    4 weeks

    Statistics & Probability

    Probability distributions, Bayes' theorem, maximum likelihood estimation.

  2. Phase 2:Classical Machine Learning

    intermediate
    4 weeks

    Supervised Learning

    Linear regression, logistic regression, decision trees, random forests, and SVMs.

    intermediate
    3 weeks

    Unsupervised Learning

    K-means clustering, PCA, dimensionality reduction, and anomaly detection.

    intermediate
    2 weeks

    Model Evaluation

    Train/validation/test splits, cross-validation, and performance metrics.

    intermediate
    2 weeks

    Feature Engineering

    Encoding, scaling, imputation, and creating informative features from raw data.

  3. Phase 3:Deep Learning

    advanced
    4 weeks

    Neural Networks

    Perceptrons, activation functions, backpropagation, and gradient descent.

    advanced
    3 weeks

    CNNs

    Convolutional networks for image recognition and computer vision.

    advanced
    4 weeks

    RNNs & Transformers

    Sequence models, attention mechanisms, and the architecture behind GPT and BERT.

    advanced
    4 weeks

    TensorFlow or PyTorch

    Build and train neural networks using a major deep learning framework.

  4. Phase 4:Applied ML

    advanced
    4 weeks

    MLOps

    Experiment tracking, model versioning, deployment pipelines, and monitoring.

    advanced
    4 weeks

    LLMs & Fine-tuning

    Work with large language models, prompt engineering, and fine-tuning techniques.

    advanced
    6 weeks

    Capstone Project

    Build an end-to-end ML system from data collection to deployed API.

Next steps

Keep exploring

Languages in this roadmap

Other goals

More Roadmaps