LLM & Machine Learning Course

Go from Python to production LLMs in one guided path

A genuinely detailed, project-driven curriculum — 26 weeks across 8 phases, each week with its own learning objectives, topic breakdown and hands-on exercise. Start with math and classical machine learning, build up through neural networks and transformers, then fine-tune, prompt, retrieve and orchestrate real large language models — finishing with a deployed AI application.

26 Weeks · ~6 Months Beginner → Job-Ready Self-Paced Math to Production
26
Weeks of study
8
Phases
25
Weekly modules
1
Capstone project
Before You Start

Prerequisites & tooling

What you should already know

  • Basic Python — variables, functions, loops, lists/dicts
  • Comfort with high-school-level math (we refresh what's needed)
  • No prior machine learning or deep learning experience required
  • Python 3.10+ and a code editor installed

Stack you'll work with

From notebooks to a shipped app — the same tools used in industry today.

Python 3.11 NumPy & Pandas scikit-learn PyTorch Hugging Face LangChain Vector Databases Claude & OpenAI APIs Jupyter
Syllabus

Your 26-week curriculum

Twenty-six modules, from Python and the math behind ML through classical algorithms and deep learning to transformers, fine-tuning, agents and a deployed capstone LLM application.

01
WEEK 1

Python Data Science Toolchain

Get a reproducible environment and the two libraries every dataset passes through.

  • NumPy arrays, broadcasting & vectorization
  • Pandas DataFrames, filtering & grouping
  • Handling missing data & merging tables
Start this lesson
02
WEEK 2

Linear Algebra & Probability for ML

The two mathematical ideas underneath every model from here on.

  • Vectors, matrices & matrix multiplication
  • Norms, distance & cosine similarity
  • Conditional probability & Bayes' theorem
Start this lesson
03
WEEK 3

Statistics for Machine Learning

Reason about whether a difference in the numbers is real, or just noise.

  • Descriptive statistics: mean, median, variance, percentiles
  • Hypothesis testing, p-values & common pitfalls
  • Confidence intervals & correlation vs. causation
Start this lesson
04
WEEK 4

Data Wrangling & Feature Engineering

Turn a raw, messy dataset into model-ready features with a repeatable pipeline.

  • Feature scaling: standardization vs. min-max normalization
  • Encoding categorical variables: one-hot, ordinal, target encoding
  • Building pipelines with scikit-learn's Pipeline/ColumnTransformer
Start this lesson
05
WEEK 5

The Supervised Learning Workflow

Run a complete supervised-learning experiment, start to finish.

  • Train/validation/test splits — why three sets, not two
  • The bias–variance tradeoff
  • Overfitting & underfitting: causes and fixes
Start this lesson
06
WEEK 6

Model Evaluation & Hyperparameter Tuning

Choose the right metric for a problem, and tune without leaking test data.

  • Classification metrics: precision, recall, F1, confusion matrix
  • Cross-validation strategies (k-fold, stratified)
  • Grid search & random search for hyperparameters
Start this lesson
07
WEEK 7

Unsupervised Learning & Dimensionality Reduction

Explore unlabeled data and reduce dimensionality without losing signal.

  • k-means clustering & choosing k (elbow method, silhouette score)
  • PCA: variance explained & choosing components
  • t-SNE/UMAP for visualization (conceptual overview)
Start this lesson
08
WEEK 8

Classical ML Mini-Project

Independently scope, build and evaluate a full ML solution end to end.

  • Framing a real-world problem as an ML task
  • Full pipeline: EDA → preprocessing → modeling → evaluation
  • Communicating results with metrics, plots & a short write-up
Start this lesson
09
WEEK 9

Tree-Based Models & Gradient Boosting

Build, tune and interpret the models behind most tabular ML.

  • Decision trees: splits, impurity & overfitting
  • Random forests & bagging
  • Gradient boosting fundamentals & XGBoost/LightGBM in practice
Start this lesson
10
WEEK 10

SVMs, Naive Bayes & Ensemble Methods

Choose among a wider set of classical algorithms based on data shape and assumptions.

  • Support vector machines & the kernel trick
  • Naive Bayes & its independence assumption
  • Bagging vs. boosting vs. stacking
Start this lesson
11
WEEK 11

Neural Network Foundations

Explain and implement the mechanics of a neural network from scratch.

  • Activation functions: sigmoid, ReLU, softmax
  • Backpropagation & the chain rule, by hand
  • Gradient descent, learning rate & convergence
Start this lesson
12
WEEK 12

Training Deep Networks with PyTorch

Build, train and debug a real neural network with a modern framework.

  • PyTorch tensors, autograd & the training loop
  • Optimizers: SGD, momentum, Adam
  • Regularization: dropout, weight decay, early stopping
Start this lesson
13
WEEK 13

Convolutional Neural Networks

Build and train a CNN for image classification.

  • Convolutions, kernels, stride & padding
  • Classic architectures & a look at ResNet
  • Data augmentation & transfer learning with a pretrained CNN
Start this lesson
14
WEEK 14

Sequence Models: RNNs, LSTMs & an Intro to Attention

Process ordered data, and see why attention was invented to fix RNNs' limits.

  • RNNs & the vanishing gradient problem
  • LSTMs & GRUs: gates and why they help
  • Attention as a fix: a first, intuitive look
Start this lesson
15
WEEK 15

The Attention Mechanism

Implement scaled dot-product and multi-head attention from scratch.

  • Queries, keys & values
  • Scaled dot-product attention, step by step
  • Multi-head attention & why multiple heads help
Start this lesson
16
WEEK 16

The Full Transformer Architecture

Assemble a complete transformer block and explain every component's role.

  • Positional encoding (sinusoidal & learned)
  • Encoder & decoder stacks
  • Encoder-only vs. decoder-only vs. encoder-decoder architectures
Start this lesson
17
WEEK 17

LLM Pretraining & Tokenization

How raw text becomes training data for a model that can converse and reason.

  • Byte-Pair Encoding (BPE) & subword tokenization
  • Pretraining objectives: causal LM vs. masked LM
  • Context windows & how they constrain a model
Start this lesson
18
WEEK 18

Scaling Laws, Model Families & Reading Model Cards

Choose a model using published evidence, not vibes.

  • Scaling laws: params, data & compute tradeoffs
  • Open-weight vs. closed models
  • Reading a model card critically (training data, limitations, intended use)
Start this lesson
19
WEEK 19

Fine-Tuning & Transfer Learning

Adapt a pretrained model to a new task via full fine-tuning.

  • Transfer learning: freezing vs. fine-tuning layers
  • Full fine-tuning workflow for an LLM
  • Catastrophic forgetting & how to mitigate it
Start this lesson
20
WEEK 20

Parameter-Efficient Tuning & RLHF/DPO

Adapt a large model cheaply, and understand how preference-based training works.

  • LoRA: low-rank adapters, explained and implemented
  • QLoRA & quantization for memory-efficient tuning
  • RLHF (reward models & PPO) and DPO as a simpler alternative
Start this lesson
21
WEEK 21

Prompt Engineering & Reasoning

Get reliable, structured behavior out of a model without touching its weights.

  • Prompt structure & system/user/assistant roles
  • Few-shot prompting & chain-of-thought
  • Structured outputs & tool/function schemas
Start this lesson
22
WEEK 22

Retrieval-Augmented Generation & Embeddings

Ground model answers in your own data.

  • Embeddings & vector similarity (building on Week 2)
  • Chunking strategies for long documents
  • Vector databases & approximate nearest-neighbor search
Start this lesson
23
WEEK 23

Agents, Tool Use & Orchestration

Let a model take actions, not just generate text.

  • Function calling & tool-use loops
  • The Model Context Protocol (MCP)
  • Multi-agent systems, orchestration & agent memory
Start this lesson
24
WEEK 24

Evaluation, Safety & Guardrails

Measure whether a model is actually good, safely, before shipping it.

  • Building evals & benchmarks for your own use case
  • Hallucination detection & mitigation strategies
  • Guardrails, content filtering & responsible-AI basics
Start this lesson
25
WEEK 25

Deployment, Cost & Latency

Take a model from a notebook to something you can trust and afford in production.

  • Serving options: hosted APIs vs. self-hosted inference
  • Cost modeling for LLM usage at scale
  • Monitoring, rollback & versioning for a deployed LLM app
Start this lesson
26
WEEK 26 · CAPSTONE

Capstone: Ship an LLM-Powered Application

Plan, build, evaluate and ship a complete LLM-powered application solo.

  • Architecture decisions: RAG vs. fine-tuning vs. prompting, or a combination
  • Full implementation, from data to deployment
  • Evaluation, safety & cost/latency pass
Start the capstone

Ready to build with LLMs?

Start with Week 1 and work through math, classical ML, deep learning and modern LLM engineering — or check out the Angular course if you're focused on frontend engineering.