Learn Machine Learning, MLOps & LLMs with Real Code
Step-by-step machine learning and AI tutorials — MLOps, LLMs, RAG, reinforcement learning and local AI, with working Python code you can run today.
Hidden Markov Models Explained: Viterbi and the Forward Algorithm in Python
Learn hidden Markov models in Python: states, emissions, the forward algorithm for scoring sequences, and Viterbi decoding, plus how to dodge underflow.
Markov Chains Explained: Build a Text Generator and a Weather Model
Build a Markov chain in Python: a weather model with transition matrices, a word-by-word text generator, and the stationary distribution behind them all.
Bayesian Networks for Beginners: Reasoning Under Uncertainty with pgmpy
Build your first Bayesian network in Python with pgmpy: nodes, conditional probability tables, inference, explaining away, and learning CPDs from data.
Planning in AI: STRIPS and PDDL Explained
Learn AI planning with STRIPS and PDDL: states, preconditions, add and delete effects, domain and problem files, plus planners you can actually run today.
Simulated Annealing in Python: How to Escape Local Optima
Learn simulated annealing in Python step by step: escape local optima on a Rastrigin curve and a 100-city TSP, then tune the neighborhood and cooling.
Constraint Satisfaction Problems in Python: Solve Sudoku and Scheduling
Model Sudoku and nurse scheduling as constraint satisfaction problems in Python, then solve both with a from-scratch backtracker and OR-Tools CP-SAT models.
Monte Carlo Tree Search Explained with a Connect Four Example
Monte Carlo Tree Search explained step by step: build an MCTS Connect Four bot in Python and measure how iterations, UCB1 tuning and rollouts change results.
Expectimax Explained: Game AI for Games with Chance (Build a 2048 Bot)
Build a 2048 bot with expectimax in Python, compare it with greedy play, and measure what each extra level of search depth actually buys you, game by game.
Minimax and Alpha-Beta Pruning Explained: Build a Tic-Tac-Toe AI
Build a minimax tic-tac-toe AI with alpha-beta pruning in Python, then measure exactly what move ordering and transposition tables save, node by node.
Designing Heuristics for A*: Admissible and Consistent Heuristics Explained
Learn what makes an A* heuristic admissible and consistent, why inconsistent heuristics break closed sets, and four ways to design strong, safe heuristics.
Classical AI for Beginners: Search, Planning, and Reasoning Explained
Learn classical AI the practical way: BFS, uniform-cost, A*, constraint satisfaction, minimax, STRIPS planning, and DPLL SAT solving, with runnable Python.
Best Courses on Graph Machine Learning and Network Analysis
Find the right graph ML course for you — from Stanford CS224W to NetworkX tutorials, PyG docs, and geometric deep learning. Includes a 12-week study plan and project roadmap.
Get Free AI/ML Course Notes (PDFs)
I curate and share high-quality AI & ML course notes as PDFs — Stanford CS231n, Fast.ai, DeepLearning.AI, MIT 6.S191, and more. Join 3,000+ learners on Telegram. No spam, just resources.