Machine Learning Roadmap: A Complete 85-Day Plan from Zero to Mastery

A structured 85-day roadmap covering 10 core machine learning modules from regression to Transformers.
This article presents a comprehensive 85-day machine learning learning roadmap broken into ten core modules: regression, classification, unsupervised learning, model evaluation, feature engineering, hyperparameter tuning, neural networks, reinforcement learning, NLP, and Transformers. Each module includes detailed time estimates and in-depth explanations of key concepts, algorithms, and practical applications.
Why You Need a Clear Machine Learning Roadmap
The fields of Machine Learning (ML) and Artificial Intelligence (AI) are vast and complex. The biggest challenge for beginners isn't a lack of resources — it's not knowing what order to study things in or how much time to invest in each module. A structured learning roadmap helps learners build a complete knowledge framework from fundamentals to advanced topics, avoiding wasted energy in aimless exploration.
A recently viral short video on YouTube (produced by GeeksforGeeks) concisely outlines the ten core modules of machine learning and estimates reasonable study durations for each. This article expands on that foundation, exploring the internal logic and practical value of this roadmap.

Overview of the Ten Core Modules and Time Plan
According to this roadmap, going from zero to proficient in machine learning takes approximately 85 days, covering ten modules:
Foundational Modeling Skills (Stages 1-3)
1. Regression — 7 Days
Regression is the most fundamental part of supervised learning, used for predicting continuous values (such as house prices or sales figures). Mastering linear regression, polynomial regression, and regularization methods (Ridge, Lasso) is the starting point for understanding all subsequent models. Seven days is sufficient to build a solid foundation in both the math and code implementation.
The history of regression analysis dates back to the 19th century, when Francis Galton first introduced the concept of "regression to the mean" while studying genetics. In the machine learning context, linear regression fits data by minimizing the residual sum of squares (OLS, or Ordinary Least Squares), while regularization methods prevent overfitting and enable feature selection — Ridge regression adds an L2 penalty (sum of squared weights), tending to shrink all coefficients; Lasso regression adds an L1 penalty (sum of absolute weight values), capable of compressing unimportant feature coefficients to zero, thereby achieving automatic feature selection. Understanding the loss function of regression (such as Mean Squared Error, MSE) and the gradient descent optimization process lays the mathematical foundation for understanding all gradient-based learning algorithms that follow.
2. Classification — 6 Days
Classification solves discrete label prediction problems, such as spam detection and image classification. Classic algorithms like logistic regression, decision trees, Support Vector Machines (SVM), and KNN are all covered in this stage.
The core of classification problems is finding decision boundaries in feature space. Although named "regression," logistic regression actually maps linear output to a [0,1] probability interval through the Sigmoid function, making it the most fundamental binary classifier. SVM finds the optimal hyperplane by maximizing the classification margin, and its kernel trick implicitly maps data to higher-dimensional spaces to handle non-linearly separable problems. KNN (K-Nearest Neighbors) is an instance-based lazy learning algorithm that doesn't require an explicit training process — it directly predicts based on majority voting among nearest neighbors. Decision trees recursively split feature space using information gain or Gini impurity, offering excellent interpretability. Their ensemble versions (Random Forest, XGBoost, LightGBM) remain the most widely used models for structured data modeling in industry today.

3. Unsupervised Learning — 10 Days
When data has no labels, unsupervised learning is needed to discover inherent structures. Clustering (K-Means, hierarchical clustering) and dimensionality reduction (PCA, t-SNE) are the core topics. This module takes longer (10 days) because the concepts are abstract and evaluation methods are less intuitive than in supervised learning.
Unsupervised learning is conceptually abstract because there's no clear "correct answer" to guide the learning process. K-Means minimizes intra-cluster distance (the sum of distances from each data point to its cluster center) through iterative updates of cluster centers, but requires a preset K value and is sensitive to initialization — which is why improved initialization strategies like K-Means++ are widely adopted. PCA (Principal Component Analysis) projects high-dimensional data onto the directions of maximum variance by performing eigenvalue decomposition on the covariance matrix, making it the most classic linear dimensionality reduction method, widely used in data preprocessing and visualization. t-SNE is a nonlinear dimensionality reduction technique that preserves local neighborhood relationships between data points, excelling at presenting cluster structures of high-dimensional data in two or three dimensions. Evaluation of unsupervised learning typically relies on internal metrics like Silhouette Score and Davies-Bouldin Index, or indirect validation through downstream task performance.
Model Optimization and Engineering Skills
After mastering foundational models, knowing how to improve model performance is the key to progressing from beginner to intermediate.
Evaluation, Feature Engineering, and Tuning
4. Model Evaluation — 4 Days
Understanding metrics like accuracy, precision, recall, F1 score, and ROC-AUC, along with cross-validation methods, is essential for judging model quality. While only requiring 4 days, its importance permeates all machine learning practice.
The complexity of model evaluation lies in the fact that different application scenarios require attention to different metrics. In medical diagnosis, false negatives (missed diagnoses) carry extremely high costs — potentially meaning patients miss optimal treatment windows — so recall (Recall = True Positives / (True Positives + False Negatives)) matters more than precision. In spam filtering, false positives (legitimate emails flagged as spam) are costly, so precision (Precision = True Positives / (True Positives + False Positives)) receives more focus. The ROC curve plots the relationship between True Positive Rate (TPR) and False Positive Rate (FPR) at different classification thresholds, providing a threshold-independent measure of model performance — the closer the AUC value is to 1, the stronger the model's discriminative ability. Cross-validation (such as K-Fold) obtains more robust performance estimates by splitting training and validation sets multiple times, avoiding the randomness of a single split, and serves as an important safeguard against overfitting in evaluation.

5. Feature Engineering — 5 Days
There's a famous saying in the industry: "Data and features determine the upper bound of machine learning." Feature scaling, encoding, construction, and selection often improve results more than switching models. This is a core competency that many Kaggle competition winners repeatedly emphasize.
Feature engineering is the process of translating domain knowledge into signals that models can understand — it bridges business understanding and algorithmic capability. Feature scaling (standardization transforms data to have mean 0 and standard deviation 1; normalization scales data to the [0,1] interval) ensures balanced influence of features with different units on the model, which is particularly critical for distance-sensitive or gradient-sensitive models like SVM, KNN, and neural networks. One-Hot Encoding converts categorical variables into binary vectors, while Target Encoding replaces category values with statistics of the target variable — each has appropriate use cases. Feature construction requires creativity — for example, deriving "age" from "date of birth," "distance to city center" from "latitude and longitude," or "is weekday" from "transaction time." In Kaggle competitions, the core difference between winning solutions often lies not in model selection but in who discovered more predictive feature combinations. Automated feature engineering tools (such as Featuretools, AutoFeat) are gradually lowering the barrier to this step.
6. Hyperparameter Tuning — 6 Days
Methods like grid search, random search, and Bayesian optimization help us find the optimal model configuration. This is the critical step from "it runs" to "it runs well."
The essential difference between hyperparameters and model parameters is: model parameters are learned from training data (such as neural network weights, linear regression coefficients), while hyperparameters must be set manually before training (such as learning rate, regularization strength, maximum tree depth, number of trees in a random forest). Grid Search exhaustively evaluates all predefined parameter combinations — simple and intuitive, but computational costs grow exponentially in high-dimensional spaces. Random Search randomly samples from parameter distributions — research shows it's more efficient in high-dimensional spaces because in practice only a few hyperparameters significantly affect performance. Bayesian optimization uses Gaussian processes (or other surrogate models) to build a probabilistic model of the objective function, intelligently selecting the next evaluation point through acquisition functions (such as Expected Improvement, EI). It's particularly practical in deep learning training where each evaluation is expensive. In recent years, AutoML tools like Optuna, Ray Tune, and Hyperopt are making this process increasingly automated and efficient.

Deep Learning and Frontier Directions
The final four modules enter deep learning and the core areas of modern AI — also the most time-intensive portion.
From Neural Networks to Transformer Architecture
7. Neural Networks — 10 Days
Understanding perceptrons, backpropagation, activation functions, and common network architectures (CNN, RNN) is the gateway to deep learning. Hands-on practice with TensorFlow or PyTorch is recommended.
The modern neural network renaissance began with AlexNet's breakthrough performance in the 2012 ImageNet image recognition competition — reducing the error rate from 26% to 16%, marking the official arrival of the deep learning era. The backpropagation algorithm efficiently computes gradients layer by layer from output to input using the chain rule, making it possible to train multi-layer networks with millions of parameters. CNNs (Convolutional Neural Networks) capture spatial hierarchical features through local receptive fields and weight sharing — from edges and textures to high-level semantics — revolutionizing computer vision. RNNs (Recurrent Neural Networks) and their improved variant LSTM (Long Short-Term Memory) maintain hidden states through gating mechanisms to process sequential data, solving the vanishing gradient problem of simple RNNs. Activation functions have evolved from early Sigmoid and Tanh to ReLU and its variants (Leaky ReLU, GELU), effectively mitigating vanishing gradients in deep networks. PyTorch has become the preferred choice for academic research due to its dynamic computation graph and Pythonic programming experience, while TensorFlow and its ecosystem (TF Serving, TF Lite) hold advantages in industrial deployment and edge computing.
8. Reinforcement Learning — 15 Days
This is the longest module in the roadmap. Reinforcement learning trains agents through a "trial-and-error-reward" mechanism, involving relatively complex theories such as Markov Decision Processes, Q-Learning, and policy gradients. The 15-day allocation reflects its learning difficulty.
The fundamental difference between reinforcement learning and supervised learning is: there are no labeled "correct answers." The agent must discover optimal strategies by interacting with the environment and observing reward signals. The Markov Decision Process (MDP) provides a formal mathematical framework with four elements — State, Action, Transition probability, and Reward — with the core objective of maximizing cumulative discounted reward. Q-Learning is a model-free value function method that iteratively updates a Q-table to approximate the optimal action-value function. Deep Q-Networks (DQN) combine deep neural networks with Q-Learning — in 2015, DeepMind used it to achieve superhuman performance in 49 Atari games. Policy gradient methods (such as PPO, A3C) directly parameterize and optimize the policy function, performing better in continuous action spaces. Landmark applications of reinforcement learning include AlphaGo defeating the Go world champion, OpenAI Five beating professional Dota 2 teams, and more recently, RLHF (Reinforcement Learning from Human Feedback) alignment training in large language models — the key technology enabling ChatGPT to follow human instructions.
9. Natural Language Processing (NLP) — 10 Days
Word vectors, sequence models, text classification, and sentiment analysis form the foundation for understanding language-based AI. This module lays the conceptual groundwork for subsequently learning the Transformer architecture.
NLP has undergone three paradigm shifts: from rule-based methods (regex, grammar parsers), to statistical methods (n-gram language models, TF-IDF), to deep learning. Word embeddings were the pivotal turning point of the deep learning era in NLP — Word2Vec (proposed by Google in 2013) and GloVe (from Stanford) map words into dense low-dimensional vectors through the distributional hypothesis ("a word's meaning is determined by its context"), enabling semantic similarity to be measured by cosine distance between vectors. Famous examples like "king - man + woman ≈ queen" vector arithmetic became possible. Traditional sequence models like LSTM can handle variable-length text and capture contextual dependencies but are limited by sequential computation that can't be parallelized, and still face information bottlenecks with very long texts. ELMo (2018) first introduced context-dependent dynamic word representations (the same word gets different vectors in different contexts), paving the way for subsequent pre-trained models like BERT.
10. Transformer Architecture — 12 Days
As the core architecture behind today's large language models (such as GPT, BERT), the Transformer's self-attention mechanism is the final frontier that must be conquered. Twelve days of investment builds a solid foundation for entering the era of generative AI.
The Transformer was introduced by a Google team in the 2017 paper "Attention Is All You Need." Its core innovation is the self-attention mechanism: for each position in the input sequence, the model computes relevance weights between that position and all other positions (through Query, Key, and Value matrix operations), then aggregates information through weighted sums. This design completely solves two major pain points of RNNs — long-distance dependency decay and inability to parallelize computation. Multi-Head Attention works through multiple independent attention heads in parallel, capturing relationship patterns in different semantic subspaces. Since self-attention inherently contains no positional information, Positional Encoding provides sequence order to the model through sinusoidal functions or learnable vectors. BERT (2018) uses the Transformer's encoder for masked language model pre-training, revolutionizing text understanding tasks. The GPT series uses the decoder for autoregressive generation (predicting the next word token by token), ultimately evolving into large language models like ChatGPT. Today, the Transformer architecture has expanded beyond NLP into computer vision (Vision Transformer, ViT), protein structure prediction (AlphaFold2), audio generation, multimodal understanding, and nearly every AI subfield — becoming the unified foundational architecture of contemporary artificial intelligence.
How to Realistically View This 85-Day Learning Roadmap
The value of this roadmap lies in providing a clear sequence and sense of rhythm: supervised learning before unsupervised; modeling before optimization; traditional methods before deep learning. This progressive arrangement aligns with most learners' cognitive patterns.
However, it's important to note that the 85-day estimate represents a relatively compact ideal scenario, assuming consistent high-intensity daily commitment (recommended 4-6 hours of focused study per day) and pre-existing Python programming skills and mathematical foundations (matrix operations and eigenvalue decomposition in linear algebra, Bayes' theorem and distribution functions in probability and statistics, partial derivatives and chain rule in calculus). For part-time learners, the actual timeline may need to be doubled or even longer.
Additionally, the roadmap doesn't include preparation time for mathematical foundations and programming environments. Beginners are advised to set aside 1-2 weeks beforehand to fill these prerequisites. Recommended resources include: 3Blue1Brown's "Essence of Linear Algebra" video series for building intuition, Khan Academy's probability and statistics courses for filling gaps, and basic familiarity with Python's scientific computing ecosystem (NumPy, Pandas, Matplotlib, Scikit-learn). True mastery lies not just in "completing" the material but in reinforcing each module through project practice — it's recommended to complete a small project with real datasets after finishing each module.
Conclusion: From Roadmap to Action
Regardless of whether the time estimates are precise, the greatest significance of this machine learning roadmap is breaking down what seems like an overwhelming field into ten executable steps. For beginners easily overwhelmed by information overload, a clear learning path is itself the best starting point. Rather than agonizing over "where to start," begin today by tackling the first 7-day regression module.
Key Takeaways
Related articles

Chain of Thought Isn't Just for AI: How Humans Can Use CoT to Improve Thinking Quality
Chain of Thought isn't just a prompt trick for large models. Starting from a Hacker News discussion, this article analyzes why CoT works for human thinking too, breaks down actionable ways to transfer it, and highlights the key differences between human CoT and machine CoT.
Cloudflare Teams Up with OpenAI: Closi…
Cloudflare Teams Up with OpenAI: Closing the Loop from Vulnerability Discovery to Defense with AI
Cloudflare uses OpenAI Daybreak to investigate security vulnerabilities and generate reviewable remediation plans, while developers use Codex to boost coding efficiency and quality.

Orca Multi-Agent Orchestration in Practice: A Guide to Parallel Collaboration with Claude and Codex
Orca is Stable AI's free open-source agent workbench supporting 34 agents like Claude Code and Codex in parallel. Learn its Git worktree isolation, multi-model orchestration, and mobile management.